Closed carlHR closed 3 years ago
Thanks for the report. Something changed within Android studio (and/or its build tools) which has been the cause of this issue. I am completely re-doing how Android builds are handled by Solar2DTux, so this issue will be resolved when that is complete.
I don't have an ETA for you, but it is my main focus right now. I'll update you here when this is resolved.
Thank you
I forgot to say that I have installed multiple versions of Android sdk. Is there a way to link the right SDK, NDK versions to use?
(I ask this bc Unity Remote 5 lets you set this in its settings)
@carlHR Right now, you have no control (from the S2DTux side) of this. The new system should be a lot more flexible.
@carlHR This is now fixed with the new Android build system.
Download the latest version of S2DTux here: http://solar2dtux.com/index.php/download/
Then run the installer again and you should be good to go. Note: Do not run the installer with sudo/root. It'll ask for your password when it needs to do things elevated.
Thank you
Hello, I'm using Solar2DTux (Linux version)
I tried posting this error in: https://solar2dtux.com/index.php/contact-us/ but it didn't worked. The message was not sent.
So, my problem is: when I try to build for Android, the build fails on exit code (256).
Simulator Terminal Log:
build.settings:
What other forum problems were related:
After a little research in the Solar2D forums, I saw that this exit code was related when you tried to build the android app with plugins requested in the build.settings file.
Even if I'm not requesting plugins, I have confirmed I'm using the latest version of Solar2DTux (1.0.0).
This thread proves it: https://forums.solar2d.com/t/solar2dtux-pre-release-build-testing-get-it-here-solar2d-simulator-on-linux/352200, this error should have been fixed in this version.
Also, I'm trying to build a blank project. So, there are no plugins requested and the main.lua file is completely blank.
My Settings:
I'm using Linux Ubuntu (18.04). I have installed:
I have installed Android API Levels: 29, 28, 27, 24 (requested by the Solar2DTux) and 16. (Did it using Android Studio.)
I tried to install Java8, and set it as the default java version. (Previous was java 11)
Building to Android with other software works:
I tried building to android using Unity Remote 5 (which uses ADB, NDK and Gradlew to connect to an Android device and build the app in realtime). It required a bit of struggle to connect the device, but it works fine.
So in theory, these apps should be working. What is wrong here must be something else with the simulator's building code.
Thanks, Carlos HR.