After an update of android studio and gradle, I can not compile (in release mode) my application anymore.When I try to generate the APK, I receive this error:
Worked fine for me
build.gradle
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
google()
}
...
}
...
repositories {
google()
jcenter()
maven {
url "https://jitpack.io"
}
}
app/build.gradle
dependencies {
implementation 'org.codehaus.groovy:groovy-all:2.4.12'
}