User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click
favorite

Cordovalib Problem With Android Studio

Error Message:

Error:Cause: com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

Solution: Change gradle version as follows:

buildscript {
    repositories {
        // Gradle 4.1 and higher include support for Google's Maven repo using
        // the google() method. And you need to include this repo to download
        // Android plugin 3.0.0 or higher.
        google()
        ...
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'
    }
}

Problem:

Error:Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve project :CordovaLib.
<a href="openFile:D:/Lessons/berber/berber-ionic/platforms/android/build.gradle">Open File</a><br><a href="Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve project :CordovaLib.">Show Details</a>

Solution: Replace

debugCompile(project(path: "CordovaLib", configuration: "debug"))
    releaseCompile(project(path: "CordovaLib", configuration: "release")) 
with implementation project(':CordovaLib')


PayPal - The safer, easier way to pay online!


Comments About Tutorial

There is no comment



Add Comment

Name*
Surname* 
Email* 
Subject* 
What is (12 + 5) :
WARNING

Please fill all text boxes

Message Result

Your comment is saved. After approved, it will be published

An Error Occured

We are sorry, your request cannot be continued try again later

LOGIN REQUESTED

Please login for this operation
Login