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;)
Please Login to see the rest of the answer