Build error #1

Hi,

I get Build Error #1 while building application in Solar2d Simulator v. 2020.3607

Message from console

18:25:58.499  Testing credentials for 'C:\privatekeyforcorona\universalkey.keystore': 
18:26:00.629  jar signed.
18:26:00.649  Note: debug info is not being stripped from application (settings.build.neverStripDebugInfo = true)
18:26:08.341  Downloading https://services.gradle.org/distributions/gradle-6.1.1-all.zip
18:26:08.341  
18:26:08.341  Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: protocol_version
18:26:08.341  	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
18:26:08.341  	at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
18:26:08.341  	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
18:26:08.341  	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
18:26:08.341  	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
18:26:08.341  	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
18:26:08.341  	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
18:26:08.341  	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
18:26:08.341  	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
18:26:08.341  	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
18:26:08.341  	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
18:26:08.341  	at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
18:26:08.341  	at org.gradle.wrapper.Download.download(Download.java:51)
18:26:08.341  	at org.gradle.wrapper.Install$1.call(Install.java:62)
18:26:08.341  	at org.gradle.wrapper.Install$1.call(Install.java:48)
18:26:08.341  	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
18:26:08.341  	at org.gradle.wrapper.Install.createDist(Install.java:48)
18:26:08.341  	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
18:26:08.341  	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
18:26:09.161  Android build failed (1) after 9 seconds

Should I use JDK 1.8? Which version (i586 or x64)?

I’m using JDK 1.7.067 and Win7 64-bit.

Have a nice day
ldurniat

It should be i586 as stated in the documentation. Can you try and see if it solves the issue?

I am having the same issue.How do I resolve this? Can anyone help?

You need JDK8(x86 for Windows, x64 for macOS) to make Solar2D work.

I tried to get it but they are taking me to a login page which doesn’t open,
and it doesn’t download
I’m sorry if I am asking a lot but,
Can you try it yourself?

By the way the version I have is JDK 14 and I realize that that is a mistake

See for yourself

Found this through Google: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6

Thanks, but I already went to that site and tried.
Do you think I should sign up for Oracle?

Nevermind.
They have a link to download it via Mega.
Have a look
I’m going to go for it.
Thanks by the way.
I’ll see if it works

Alright,
so I’ve downloaded the JDK i586 file,
I added the bin to the system environment variable,
I tried building the app again
This time the build has been going for hours and hasen’t yet finished.

Which version of Solar2D are you using? If the latest one, have you tried an earlier build to see if the problem continues? Are you able to build a simple line file like print "hello world"?

I don’t remember doing such thing. Do you need to manually set this in your case? Is there a reason for that?

I installed JDK 1.8 After the first run I get

 Copyright (C) 2009-2020  C o r o n a   L a b s   I n c .
16:32:58.214  	Version: 3.0.0
16:32:58.214  	Build: 2020.3607
16:32:58.224  Platform: KFTT / x64 / 6.1 / AMD Radeon HD 6520G / 4.5.13399 Compatibility Profile Context 15.200.1062.1004 / 2020.3607 / pl_PL | PL | pl_PL | pl
16:32:58.224  Loading project from:   F:\STUDIA\Github projects\Italian-words-flashcard
16:32:58.224  Project sandbox folder: C:\Users\Lukasz\AppData\Local\Corona Labs\Corona Simulator\Sandbox\italian-words-flashcard-2C5437774929E2B10487DA8F5C668117\Documents
16:45:33.970  Testing credentials for 'C:\privatekeyforcorona\universalkey.keystore': 
16:45:50.986  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
16:45:50.986  jar signed.
16:45:51.046  Note: debug info is not being stripped from application (settings.build.neverStripDebugInfo = true)
17:34:12.134  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:34:12.134  Downloading https://services.gradle.org/distributions/gradle-6.1.1-all.zip
17:34:12.134  ....................................................................................................................................
17:34:12.134  Unzipping C:\Users\Lukasz\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1-all.zip to C:\Users\Lukasz\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst
17:34:12.134  
17:34:12.134  FAILURE: Build failed with an exception.
17:34:12.134  
17:34:12.134  * What went wrong:
17:34:12.134  A problem occurred configuring root project 'Corona Android'.
17:34:12.134  > Could not resolve all artifacts for configuration ':classpath'.
17:34:12.134     > Could not resolve com.android.tools.build:gradle:3.5.4.
17:34:12.134       Required by:
17:34:12.134           project :
17:34:12.134        > Could not resolve com.android.tools.build:gradle:3.5.4.
17:34:12.134           > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.pom'.
17:34:12.134              > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.pom'.
17:34:12.134                 > Remote host terminated the handshake
17:34:12.134  
17:34:12.134  * Try:
17:34:12.134  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.
17:34:12.134  
17:34:12.134  * Get more help at https://help.gradle.org
17:34:12.134  
17:34:12.134  BUILD FAILED in 48m 2s
17:34:16.114  Android build failed (1) after 2905 seconds

After the second time I get

Testing credentials for 'C:\privatekeyforcorona\universalkey.keystore': 
18:06:23.616  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
18:06:23.616  jar signed.
18:06:23.657  Note: debug info is not being stripped from application (settings.build.neverStripDebugInfo = true)
18:39:34.844  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
18:39:34.844  
18:39:34.844  FAILURE: Build failed with an exception.
18:39:34.844  
18:39:34.844  * What went wrong:
18:39:34.844  A problem occurred configuring root project 'Corona Android'.
18:39:34.844  > Could not resolve all artifacts for configuration ':classpath'.
18:39:34.844     > Could not download gradle-3.5.4.jar (com.android.tools.build:gradle:3.5.4)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.jar'.
18:39:34.844           > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.4/gradle-3.5.4.jar'.
18:39:34.844              > Remote host terminated the handshake
18:39:34.844     > Could not download builder-3.5.4.jar (com.android.tools.build:builder:3.5.4)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.5.4/builder-3.5.4.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download sdk-common-26.5.4.jar (com.android.tools:sdk-common:26.5.4)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.5.4/sdk-common-26.5.4.jar'.
18:39:34.844           > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.5.4/sdk-common-26.5.4.jar'.
18:39:34.844              > Remote host terminated the handshake
18:39:34.844     > Could not download kotlin-util-klib-1.3.70.jar (org.jetbrains.kotlin:kotlin-util-klib:1.3.70)
18:39:34.844        > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-util-klib/1.3.70/kotlin-util-klib-1.3.70.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download kotlin-scripting-jvm-1.3.70.jar (org.jetbrains.kotlin:kotlin-scripting-jvm:1.3.70)
18:39:34.844        > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-scripting-jvm/1.3.70/kotlin-scripting-jvm-1.3.70.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download bundletool-0.9.0.jar (com.android.tools.build:bundletool:0.9.0)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.9.0/bundletool-0.9.0.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download protos-26.5.4.jar (com.android.tools.analytics-library:protos:26.5.4)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.5.4/protos-26.5.4.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download annotations-26.5.4.jar (com.android.tools:annotations:26.5.4)
18:39:34.844        > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.5.4/annotations-26.5.4.jar'.
18:39:34.844           > Read timed out
18:39:34.844     > Could not download httpmime-4.5.6.jar (org.apache.httpcomponents:httpmime:4.5.6)
18:39:34.844        > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.jar'.
18:39:34.844           > Read timed out
18:39:34.844  
18:39:34.844  * Try:
18:39:34.844  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.
18:39:34.844  
18:39:34.844  * Get more help at https://help.gradle.org
18:39:34.844  
18:39:34.844  BUILD FAILED in 33m 1s
18:39:38.256  Android build failed (1) after 1995 seconds

EDIT:

Next I changed environment variables so all paths target new java version. I replaced (PATH=)

C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.3-Q16;C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%JAVA_HOME%\bin;%JAVA_HOME%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;F:\app\Lukasz\product\11.2.0\dbhome_1\bin;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Java\jre7\bin;C:\Python27\Scripts;C:\Python27;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\HTML Help Workshop;C:\RTools\bin;C:\MinGW\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\VDownloader;%systemroot%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\nodejs;C:\Program Files (x86)\QuickTime\QTSystem\;C:\TDM-GCC-64\bin;C:\Program Files (x86)\Java\jdk1.7.0_67\bin;C:\Program Files (x86)\SumatraPDF;C:\Program Files (x86)\nodejs\;C:\android-sdk-win\platform-tools;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\gs\gs9.20\bin;C:\lua-5.3.3_Win64_bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\LuaRocks;C:\MinGW\bin;C:\Program Files (x86)\LuaRocks\systree\bin;C:\Program Files (x86)\LuaRocks;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSL-Win64\bin

with

C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.3-Q16;C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%JAVA_HOME%\bin;%JAVA_HOME%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;F:\app\Lukasz\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Java\jre1.8.0_261\bin;C:\Python27\Scripts;C:\Python27;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\HTML Help Workshop;C:\RTools\bin;C:\MinGW\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\VDownloader;%systemroot%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\nodejs;C:\Program Files (x86)\QuickTime\QTSystem\;C:\TDM-GCC-64\bin;C:\Program Files (x86)\SumatraPDF;C:\Program Files (x86)\nodejs\;C:\android-sdk-win\platform-tools;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\gs\gs9.20\bin;C:\lua-5.3.3_Win64_bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\LuaRocks;C:\MinGW\bin;C:\Program Files (x86)\LuaRocks\systree\bin;C:\Program Files (x86)\LuaRocks;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSL-Win64\bin

I replaced (CLASSPATH=)

C:\Program Files (x86)\Java\jre7\lib\ext;F:\STUDIA\Allegro staz\Zadanie\junit.jar

with

C:\Program Files (x86)\Java\jre1.8.0_261\lib\ext;F:\STUDIA\Allegro staz\Zadanie\junit.jar

I replaced (JAVA_HOME=)

C:\Program Files\Java\jdk1.7.0_21

with

C:\Program Files (x86)\Java\jdk1.8.0_261

After that I got (I use Hello world project from samples for now)

Corona Simulator 2020.3607 (Aug  1 2020 16:23:42)
10:52:14.001  
10:52:14.001  
10:52:14.001  Copyright (C) 2009-2020  C o r o n a   L a b s   I n c .
10:52:14.001  	Version: 3.0.0
10:52:14.001  Build: 2020.3607
10:52:14.001  Platform: KFTT / x64 / 6.1 / AMD Radeon HD 6520G / 4.5.13399 Compatibility Profile Context 15.200.1062.1004 / 2020.3607 / pl_PL | PL | pl_PL | pl
10:52:14.001  Loading project from:   C:\Program Files (x86)\Corona Labs\Corona SDK\Sample Code\GettingStarted\HelloWorld
10:52:14.001  Project sandbox folder: C:\Users\Lukasz\AppData\Local\Corona Labs\Corona Simulator\Sandbox\helloworld-AF5C51C08AB9FCF68FB667E15C32897A\Documents
10:52:30.154  Testing credentials for 'C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\debug.keystore': 
10:52:43.417  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
10:52:43.417  jar signed.
10:52:43.417  
10:52:43.417  Warning: 
10:52:43.417  The signer's certificate is self-signed.
10:52:43.417  
10:52:43.417  The timestamp will expire on 2030-10-17.
11:00:06.394  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
11:00:06.394  Failed to sort dependencies, returning partially-sorted list.
11:00:06.394  Checking the license for package Android Emulator in C:\Users\Lukasz\AppData\Roaming\Corona Labs\Corona Simulator\Android Build\sdk\licenses
11:00:06.394  License for package Android Emulator accepted.
11:00:06.394  Preparing "Install Android Emulator (revision: 28.0.25)".
11:00:06.394  Warning: An error occurred while preparing SDK package Android Emulator: Read timed out.:
11:00:06.394  java.net.SocketTimeoutException: Read timed out
11:00:06.394  	at java.net.SocketInputStream.socketRead0(Native Method)
11:00:06.394  	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
11:00:06.394  	at java.net.SocketInputStream.read(SocketInputStream.java:171)
11:00:06.394  	at java.net.SocketInputStream.read(SocketInputStream.java:141)
11:00:06.394  	at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:466)
11:00:06.394  	at sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:460)
11:00:06.394  	at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:69)
11:00:06.394  	at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1147)
11:00:06.394  	at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:74)
11:00:06.394  	at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:834)
11:00:06.394  	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
11:00:06.394  	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
11:00:06.394  	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
11:00:06.394  	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
11:00:06.394  	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
11:00:06.394  	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593)
11:00:06.394  	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
11:00:06.394  	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
11:00:06.394  	at com.android.sdklib.repository.legacy.remote.internal.DownloadCache.openUrl(DownloadCache.java:248)
11:00:06.394  	at com.android.sdklib.repository.legacy.remote.internal.DownloadCache.openDirectUrl(DownloadCache.java:331)
11:00:06.394  	at com.android.sdklib.repository.legacy.LegacyDownloader.downloadFully(LegacyDownloader.java:90)
11:00:06.394  	at com.android.repository.impl.downloader.LocalFileAwareDownloader.downloadFully(LocalFileAwareDownloader.java:82)
11:00:06.394  	at com.android.repository.api.Downloader.downloadFullyWithCaching(Downloader.java:106)
11:00:06.394  	at com.android.repository.impl.installer.BasicInstaller.doPrepare(BasicInstaller.java:71)
11:00:06.394  	at com.android.repository.impl.installer.AbstractPackageOperation.prepare(AbstractPackageOperation.java:332)
11:00:06.394  	at com.android.builder.sdk.DefaultSdkLoader.installRemotePackages(DefaultSdkLoader.java:354)
11:00:06.394  	at com.android.builder.sdk.DefaultSdkLoader.installBuildTools(DefaultSdkLoader.java:306)
11:00:06.394  	at com.android.builder.sdk.DefaultSdkLoader.getTargetInfo(DefaultSdkLoader.java:148)
                            The text is too long so I removed some. Link to whole messsage you find below
org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:27)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
11:00:06.394  	at org.gradle.util.Swapper.swap(Swapper.java:38)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:50)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
11:00:06.394  	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
11:00:06.394  	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
11:00:06.394  	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
11:00:06.394  	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
11:00:06.394  	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
11:00:06.394  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
11:00:06.394  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
11:00:06.394  	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
11:00:06.394  	at java.lang.Thread.run(Thread.java:748)
11:00:06.394  "Install Android SDK Platform 29 (revision: 4)" failed.
11:00:06.394  
11:00:06.394  FAILURE: Build failed with an exception.
11:00:06.394  
11:00:06.394  * What went wrong:
11:00:06.394  Could not determine the dependencies of task ':App:bundleReleaseResources'.
11:00:06.394  > Failed to install the following SDK components:
11:00:06.394        patcher;v4 SDK Patch Applier v4
11:00:06.394        platform-tools Android SDK Platform-Tools
11:00:06.394        build-tools;28.0.3 Android SDK Build-Tools 28.0.3
11:00:06.394        platforms;android-29 Android SDK Platform 29
11:00:06.394        emulator Android Emulator
11:00:06.394        tools Android SDK Tools
11:00:06.394    Install the missing components using the SDK manager in Android Studio.
11:00:06.394  
11:00:06.394  
11:00:06.394  * Try:
11:00:06.394  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.
11:00:06.394  
11:00:06.394  * Get more help at https://help.gradle.org
11:00:06.394  
11:00:06.394  BUILD FAILED in 7m 9s
11:00:07.158  Android build failed (1) after 444 seconds

Link to whole message on Google Drive.

I noticed that I have installed Android SDK in past. I will try run Android SKD Manager to install required dependiecies. May be this helps.

I haven’t tried that yet but I’ll try

I’m trying to build these 2 lines of code:

local text = ‘Hello’
local newText = display.newText(text, 160, 0);

This is quite similar to what I have been getting

Are you both using the latest version? have you tried an older version to see if the issue persists?

Also, not sure about this but seeing that it takes some time before failing, Android builds require connection. Is it possible that a firewall is preventing the connection? (Not a strong hunch but…)

One last thing, do you really need to manually set paths and variables in Windows? Is there a reason for doing this?

Thanks, but I already went to that site and tried.

I have solved may issue using faster internet connection:)