Build Errror #1 - Corona 2020.3582

2020.3582 is the last daily build for old Corona. Yesterday I make the build for one of my apps using this version of Corona, but now i’m trying to make the build for the same app and I got this error in Corona Simulator Console:

08:28:26.628 Testing credentials for ‘C:\Users\Administrador\Documents\Corona Projects\ARROW\no_incluir\arrow.keystore’:
08:28:28.919 jar signed.
08:28:28.919 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
08:28:32.203 Using custom build id from app bundle: 00000 (AppSettings.lua)
08:28:32.203
08:28:32.203 Using custom Build Id 00000
08:28:32.927 Excluding specified files from build:
08:28:32.927 excluding: .lproj
08:28:32.927 excluding: LaunchScreen.storyboardc
08:28:32.927 excluding: Images.xcassets
08:28:32.927 excluding: Icon.png
08:28:32.927 excluding: Icon
.ico
08:28:32.927 excluding: Icon*.icns
08:28:32.927 excluding: no_incluir
08:28:32.927 excluding: Thumbs.db
08:28:43.704 @ver > NUL
08:28:43.704 Exception in thread “DisconnectableInputStream source reader” org.gradle.api.UncheckedIOException: java.io.IOException: Acceso denegado
08:28:43.704 at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
08:28:43.704 at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
08:28:43.704 at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:125)
08:28:43.704 at java.lang.Thread.run(Thread.java:748)
08:28:43.704 Caused by: java.io.IOException: Acceso denegado
08:28:43.704 at java.io.FileInputStream.readBytes(Native Method)
08:28:43.704 at java.io.FileInputStream.read(FileInputStream.java:255)
08:28:43.704 at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
08:28:43.704 at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
08:28:43.704 at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
08:28:43.704 at org.gradle.util.DisconnectableInputStream$1.run(DisconnectableInputStream.java:96)
08:28:43.704 … 1 more
08:28:43.704 Error while fetching plugins
08:28:43.704
08:28:43.704
08:28:43.704 FAILURE: Build failed with an exception.
08:28:43.704
08:28:43.704 * Where:
08:28:43.704 Build file ‘C:\Users\Administrador\AppData\Local\Temp\Corona Labs\CLtmpa08544\template\app\build.gradle.kts’ line: 595
08:28:43.704
08:28:43.704 * What went wrong:
08:28:43.704 Error while fetching plugins
08:28:43.704
08:28:43.704 * Try:
08:28:43.704 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.
08:28:43.704
08:28:43.704 * Get more help at https://help.gradle.org
08:28:43.704
08:28:43.704 BUILD FAILED in 8s
08:28:43.704 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
08:28:44.405 Android build failed (1) after 12 seconds

Did you build app successfully before with the 2020.3582?

Yes, I did actually. The day before I could make the app build succesfully, as I said in my post.

Could you try again, sometimes it may fail because of network issues. I just built successfully now using 2020.3582

I’m also getting the same error Build Error #1 when I try to build an app for Android that worked built fine under the original server-based build process. I’ve pasted the debug below. The app builds still build OK for Windows.

Corona Simulator 2020.3595 (May 21 2020 05:32:41)

Copyright © 2009-2020 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2020.3595
Platform: My Custom Device / x64 / 10.0 / GeForce GT 640/PCIe/SSE2 / 4.6.0 NVIDIA 432.00 / 2020.3595 / en_GB | GB | en_GB | en
Loading project from: H:\My Docs\Corona Projects\gammon2
Project sandbox folder: C:\Users\David\AppData\Local\Corona Labs\Corona Simulator\Sandbox\gammon2-98E2E77A99A6CE4175B97ECA42A9EE55\Documents
Testing credentials for ‘C:\Program Files (x86)\Corona Labs\Corona\Resources\debug.keystore’:
jar signed.
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Excluding specified files from build:
excluding: Icon.png
excluding: Icon-Small-.png
excluding: Icon
@2x.png
Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip

Exception in thread “main” javax.net.ssl.SSLException: Received fatal alert: protocol_version
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
at org.gradle.wrapper.Download.download(Download.java:51)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Android build failed (1) after 3 seconds

I tried again right now and i got the same error. I’m frustrated. I need update one of my games before Monday because of a publisher have programmed a test for my game from 25 to 31 of this month.

Yesterday I uninstalled version 2020.3582 to test with the new build of Solar2d (2020.3595) and then uninstalled this and reinstalled version 3582. Does this have something to do with this error?

Regarding the uninstalling and reinstalling I am not sure because after 2020.3582 the builds are for offline and there might be some internal data changes.

First thing you can uninstall the current 3582 and try to delete every file related to coronalabs in your c folder and user folders. Then reinstall 2020.3582 and sign in.
After that you can start commenting out plugins which are not from com.coronalabs from your build settings and see whether you get successful build or not. If you do get a successful build then try to find which plugin might be causing the unsuccessful builds.
Even modifying build file doesn’t seem to work try to use a vpn when building maybe that could be an issue.
Try the 3 steps above if you still get unsuccessful build please post your build file

Can you create an issue in the github regarding that release as the offline builds are still in alpha stage. Post your error log there so that the developer can view and fix the issue. It seems like your error is regarding networking.

I was just casually thinking of doing the same. Thanks for confirming it.

Yes, I will. Then i will comment my results here. By the way, due to the restrictions of my country I always use a vpn to make my builds.

I’m surprised. Just now i made a build perfectly. It seems was a network matter.

1 Like