Closed abandisch closed 5 years ago
Update
Found the answer to my problem on this SO - essentially add the following to the projects build.gradle
file to update the supported compileSdkVersion
and buildToolsVersion
:
subprojects { subproject ->
afterEvaluate{
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
I'm trying to build a release version of my app for Android using the command
./gradlew clean && ./gradlew assembleRelease
under theandroid
directory and it fails with the below error - can you advise what could be wrong?