Build Error #1

For some reason that I don’t understand, some of my apps allow me to create their build, while others don’t. Also their build.settings files are very similar.

Just now I get this build error trying to create the build for one of my apps:

FAILURE: Build failed with an exception.
01:33:48.911  
01:33:48.911  * What went wrong:
01:33:48.911  Execution failed for task ':App:mergeReleaseNativeLibs'.
01:33:48.911  > Could not resolve all files for configuration ':App:releaseRuntimeClasspath'.
01:33:48.911     > Failed to transform play-services-base-17.5.0.jar (com.google.android.gms:play-services-base:17.5.0) to match attributes {artifactType=android-java-res, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
01:33:48.911        > Could not find play-services-base-17.5.0.jar (com.google.android.gms:play-services-base:17.5.0).
01:33:48.911          Searched in the following locations:
01:33:48.911              https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-base/17.5.0/play-services-base-17.5.0.jar
01:33:48.911  
01:33:48.911  * Try:
01:33:48.911  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
01:33:48.911  
01:33:48.911  * Get more help at https://help.gradle.org
01:33:48.911  
01:33:48.911  BUILD FAILED in 17s
01:33:48.911  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
01:33:49.260  Android build failed (1) after 19 seconds

it depends on what features or plugins you are using

most of the times installing the latest Solr2D would solve your problems and make sure you have JDK 15 installed…

sometimes you need to clean those folders but this will cause the first build to take a long time because the SDK will download around a Giga byte of files


1 Like

Thanks @kakula. That worked