Unable to build for Android (Win10Pro 64bit)

Hello,

Unfortunatly, nothing work. Are anyone knows how to resolve it in our case, please see a log bellow.

Windown 10 Pro 64bit licensed (with all latest updates)
Java JRE 64bit
JDK 15.0.2 64bit
:x: Corona Simulator build: 3641, 3642, 3643, 3644 (it has been tested with both versions)
:no_entry_sign: Corona Simulator build 3639 not working on Win10Pro 64 bit.

12:47:15.969 Testing credentials for ‘C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore’:
12:47:19.307 jar signed.
12:47:19.307
12:47:19.307 Warning:
12:47:19.307 The signer’s certificate is self-signed.
12:47:19.307
12:47:19.307 The timestamp will expire on 2031-01-06.
12:47:19.307 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
12:53:48.219 Downloading https://services.gradle.org/distributions/gradle-6.8.3-all.zip
12:53:48.219 …10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
12:53:48.219 Error while fetching plugins:
12:53:48.219
12:53:48.219 FAILURE: Build failed with an exception.
12:53:48.219
12:53:48.219 * Where:
12:53:48.219 Build file ‘C:\Users\Admin\AppData\Local\Temp\Corona Labs\CLtmpa09132\template\app\build.gradle.kts’ line: 549
12:53:48.219
12:53:48.219 * What went wrong:
12:53:48.219 Error while fetching plugins:
12:53:48.219
12:53:48.219 * Try:
12:53:48.219 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.
12:53:48.219
12:53:48.219 * Get more help at https://help.gradle.org
12:53:48.219
12:53:48.219 BUILD FAILED in 6m 21s
12:53:48.219 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
12:53:49.127 Android build failed (1) after 390 seconds

Hi.
Based on the solar2d documentation you should use the jdk-8u261-windows-i586.exe version that means 32 bit jdk.

Have you tried deleting the contents of the following folders that related to solar2d and corona sdk and retrying all the steps?

  • C:\Program Files (x86) and C:\Program Files
  • C:\Users\username\AppData\Roaming
  • C:\Users\username\AppData\Local
  • C:\Users\username.android and .gradle and .cache

Hello!

It works fine only if delete the folder \jre

Its normal for me.

Thanks !!

you waste your time with solar2D. that is a common problem of this game engine. try to move to another engine. this problem has never been solved

Given that the original poster stated their solution to this problem, it sounds to me like it was solved for them. :wink:

00:10:58.438 To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.8.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
00:10:58.438 Daemon will be stopped at the end of the build
00:10:58.438
00:10:58.438 > Configure project :App
00:10:58.438 WARNING:: The option setting ‘android.enableResourceOptimizations=false’ is deprecated.
00:10:58.438 The current default is ‘true’.
00:10:58.438 It will be removed in version 7.0 of the Android Gradle plugin.
00:10:58.438 Authorizing plugins
00:10:58.438 Error while fetching plugins:
00:10:58.438
00:10:58.438 FAILURE: Build failed with an exception.
00:10:58.438
00:10:58.438 * Where:
00:10:58.438 Build file ‘C:\Users\Evens\AppData\Local\Temp\Corona Labs\CLtmpa11320\template\app\build.gradle.kts’ line: 554
00:10:58.438
00:10:58.438 * What went wrong:
00:10:58.438 Error while fetching plugins:
00:10:58.438
00:10:58.438 * Try:
00:10:58.438 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.
00:10:58.438
00:10:58.438 * Get more help at https://help.gradle.org
00:10:58.438
00:10:58.438 BUILD FAILED in 7s
00:10:58.438 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
00:10:58.823 Android build failed (1) after 12 seconds

solar2D simulator 2021.3655 (2021.9.20)

Please refrain from posting the identical support request to multiple threads.

Hijacking other people’s threads four months or so later with your own problem isn’t good decorum either.

I’ve closed this thread as well. Others can help you at your newest thread that you’ve opened at: