Android build error:

my build failed after I updated sdk to  2019.3556.

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ‘:app:javaPreCompileRelease’.

> Could not resolve all files for configuration ‘:app:releaseCompileClasspath’.

   > Failed to transform file ‘licensing-google.jar’ to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime-jars}

      > Execution failed for IdentityTransform: /Users/xxx/Library/Application Support/Corona/Native/Corona/android/lib/Corona/libs/licensing-google.jar.

         > /Users/xxx/Library/Application Support/Corona/Native/Corona/android/lib/Corona/libs/licensing-google.jar

 

* Try:

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.

 

* Get more help at https://help.gradle.org

 

BUILD FAILED in 19s

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.5.1/userguide/gradle_daemon.html.

Daemon will be stopped at the end of the build stopping after processing

Please make sure you’re using Java JDK 1.8, not JDK 1.13.

Rob

java version “1.8.0_212”

Grab the latest daily build.

See this post: https://forums.coronalabs.com/topic/75790-handling-bugs-with-android-x64-and-target-sdk-28/

It has information on how to increase the logging during builds.

After do this, copy/paste the entire build.log and paste it into a pastebin.com (or similar service) and then share the link back here. Also share your build.settings.