Use Solar2D Simulator to build with other Game Engine

Because Solar2D does not allow me to build for Android. I need to know if I can build my project using another game engine.
If someone knows please let me know.
Can I still keeping solar2D Simulator to preview the game project and build it with another Engine ???

if you cannot afford another pc or laptop, try to go to anyplace with a public computer with internet connection (like an internet café if they still exist) and on that pc install solar2d and JDK in minutes, and make your build untill you resolve the issue with your current PC …

if you like i can offer to connect with you using AnyDesk, perhaps i can fix it for you

Regards,
Tariq

Hey!

If you are asking about whether you can develop your game on Solar2D and then build it using a different engine, like Löve, Gideros, Defold, etc. then the answer is no. This is not possible with any game engine.

I’ve been fairly busy, but I can take a look at your earlier thread regarding your errors in a moment at:

I am trying to help Autist children in the world who not able to learn. with my game they will be able to learn by themselves . that’s why it’s very important to build my project.

I ask If Solar2D cannot bundle in Java, Gradle and everything you need to build for Android without internet connection. it seem the first time you start building process , Simulator download a big files of java and gradle. why those files does not come with Solar2D install files. I see the error # 1 occurred while downloading and configuring those files. I got Java Security Exception when downloading the Gradle wrapper

Solar2D has Java embedded, but not Gradle. I’m guessing there are good reasons for this.

@vlads Could you take a look at what might be going on? @steevemoore has also posted detailed build logs to How to offline build for Android like windows ?.

by deleting all about Solar2D and installing the new version 2021.3657 I am now unable to download

00:40:35.996 Downloading https://services.gradle.org/distributions/gradle-6.8.3-all.zip
00:40:35.996
00:40:35.996 Exception in thread “main” java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-6.8.3-all.zip failed: timeout
00:40:35.996 at org.gradle.wrapper.Download.downloadInternal(Download.java:106)
00:40:35.996 at org.gradle.wrapper.Download.download(Download.java:66)
00:40:35.996 at org.gradle.wrapper.Install$1.call(Install.java:68)
00:40:35.996 at org.gradle.wrapper.Install$1.call(Install.java:48)
00:40:35.996 at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
00:40:35.996 at org.gradle.wrapper.Install.createDist(Install.java:48)
00:40:35.996 at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
00:40:35.996 at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)
00:40:35.996 Caused by: java.net.SocketTimeoutException: connect timed out
00:40:35.996 at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
00:40:35.996 at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
00:40:35.996 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
00:40:35.996 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
00:40:35.996 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
00:40:35.996 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
00:40:35.996 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
00:40:35.996 at java.net.Socket.connect(Socket.java:607)
00:40:35.996 at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
00:40:35.996 at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
00:40:35.996 at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
00:40:35.996 at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
00:40:35.996 at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
00:40:35.996 at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
00:40:35.996 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
00:40:35.996 at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
00:40:35.996 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
00:40:35.996 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
00:40:35.996 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
00:40:35.996 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
00:40:35.996 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
00:40:35.996 at org.gradle.wrapper.Download.downloadInternal(Download.java:83)
00:40:35.996 … 7 more
00:40:35.996 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
00:40:36.292 Android build failed (1) after 15 seconds

I am very sorry, but this is mostly how Android build system is designed. To be able to build for Android one have to have Android SDK and Gradle. Usually it is not a problem to make a following download, but in your case it seems to cause issues. For some reason file does not getting downloaded.
Error is “time out” which usually means that it internet failed or, sometimes, restrictions may work in such way. Do you have a VPN, to make sure your internet provider is not filtering your traffic?
I see that you’re using satellite internet so it may be very expensive for you to download required files. But good news is when downloaded once, I think you should be able to build offline. Do you have ability to download files else where?
I am very sorry for the situation. Another way out would be to build your app on GitHub. This way you would have to commit files and download built APK. Here is sample integration https://github.com/solar2d/demo-android-automation

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.