I am getting this error continuously when I try to build my old project in Android Studio 3.0
Here's my gradle file:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.github.triplet.gradle:play-publisher:1.1.4'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.google.guava:guava:19.0'
classpath 'me.tatarka:gradle-retrolambda:3.3.1'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
flatDir {
dirs 'libs'
}
}
}
For me the problem was with classpath 'com.github.triplet.gradle:play-publisher:1.1.4'
. I upgraded it to com.github.triplet.gradle:play-publisher:1.2.0
and the error went away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With