Closed ebastuart closed 5 years ago
Hi @ebastuart!
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
The last line of the warning should be self-explainable.
The issue seems to be with the kotlin-gradle-plugin version as mentioned in the last line of your log. I've used the default version while building, so I'm not sure if I should bump it up?
just give it a try. if a build with a higher version would fix it, it would be great.
Sure @ebastuart, could you please paste your android/build.gradle here?
Awesome, thank you :)
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.google.gms:google-services:4.2.0'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
@ebastuart Could you please try now with the latest version ^2.0.1+1?
works like a charm. Great job. Thanks a lot.
I have issues to get it working. My build is updated to AndroidX already and all google/firebase plugins are running on the latest version. Any clue how to fix it?