Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Android build error:
Started by pickerel Nov 27 2019 07:00 PM

3 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

pickerel

[GLOBAL: userInfoPane.html]
pickerel
  • Contributor

  • 150 posts
  • Corona SDK

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



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,393 posts
  • Enterprise

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

 

Rob



[TOPIC: post.html]
#3

pickerel

[GLOBAL: userInfoPane.html]
pickerel
  • Contributor

  • 150 posts
  • Corona SDK

java version "1.8.0_212"



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,393 posts
  • Enterprise

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.




[topic_controls]
[/topic_controls]