I am getting this error when syncing gradle. I am pretty new to gradle so can\'t figure out what is the problem exactly?
Error:No cached version of co
I had the same problem in Android Studio v3.2.1.
This is working for me.
I updated Gradle version in build.gradle
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'//same as Android Studio vesion
}
and changed distributionUrl in gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
to
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip