Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Android build error with Mac OS (using VMware)
Started by nowicki_k Sep 21 2019 06:18 AM

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

nowicki_k

[GLOBAL: userInfoPane.html]
nowicki_k
  • Observer

  • 16 posts
  • Corona SDK

Hi,

I get an error when building for Android with VMware Mac OS Mojave (don't know if it works for iOS right now). 

I also don't know if it's VMware specific or Mac OS problem.

The project builds without problems on Windows 10.

 

Sep 21 04:05:26.263 ERROR: configuring 'shared.google.play.services.location_com.coronalabs' failed!

Sep 21 04:05:26.263

Sep 21 04:05:26.371 FAILURE: Build failed with an exception.* Where:Build file '/private/var/folders/4f/v41g6zt56rg78bxqvwdgcl240000gn/T/CLtmpfSY1Yt/template/app/build.gradle.kts' line: 277* What went wrong:Could not open dsl remapped class cache for 7pikktvxbcqhwmu1f7o9exvba (/Users/knwck/.gradle/caches/5.4.1/scripts-remapped/corona_93weg9zbhdi1fjhswis6afy3r/7pikktvxbcqhwmu1f7o9exvba/dsldcd040730888da95d185715568c9cc57).> Could not open dsl generic class cache for script

 

Full console text here: https://ufile.io/ih75st4l



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,613 posts
  • Enterprise

Is there a reason you're building for Android using a Mac VM instead of building for Android from Windows? We technically don't support using VM's for this. There are just too many variations for us to test every combination.

 

Have you tried building from Windows?

Rob



[TOPIC: post.html]
#3

nowicki_k

[GLOBAL: userInfoPane.html]
nowicki_k
  • Observer

  • 16 posts
  • Corona SDK

Is there a reason you're building for Android using a Mac VM instead of building for Android from Windows? We technically don't support using VM's for this. There are just too many variations for us to test every combination.

 

Have you tried building from Windows?

Rob

 

I wanted to do it as a precaution measure - I don't want Google to connect my account (Win 10) with the publisher account (MacOS VM). I'm not sure if there isn't any added trace about the computer and other information when requesting the build process of an app. 

Building from Windows works without problems (testing debug builds). 



[TOPIC: post.html]
#4

arkadi

[GLOBAL: userInfoPane.html]
arkadi
  • Observer

  • 6 posts
  • Corona SDK

i have same problem on real Macbook pro,  version macosx catalina 10.15.1. i have absolutely same error message. i have warning message to :"WARNING: Java 1.8 does not seems to be available. If build fails, install Java 1.8." i have installed java 13.
 find anybody any solution?



[TOPIC: post.html]
#5

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,172 posts
  • Corona SDK

Since you have a different warning message, it's unlikely that you have the same problem. As such, it'd be better to start a new thread.

 

Regardless, you've already answered your own question. You have the wrong version of Java. You need to install Java 1.8.


  • pixec likes this

[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,613 posts
  • Enterprise

Android builds don't work with Java JDK 1.13. You must downgrade to Java JDK 1.8.

 

Rob



[TOPIC: post.html]
#7

sunnylord53

[GLOBAL: userInfoPane.html]
sunnylord53
  • Observer

  • 3 posts
  • Corona SDK

It worked for me too.. Thank you very much for your help!




[topic_controls]
[/topic_controls]