Home Articles Details

Error: com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDepedencyCacheDir(Ljava/io/F;)


When building a project in android studio and the project is ionic cordova android project, sometimes gradle throws an error: e.g. Error:Cause:com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDepedencyCacheDir(Ljava/io/F;)

 
Solution: Open gradle, the one on the project level and it will ask you to fixe Gradle Wraper problem and hit fix now, problem solved.

If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.


© 2023 - ErnesTech LLC- Privacy