-
-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Linux] Can't build Android #703
Comments
Try using JDK 11+. |
The same issue. Maybe need to upgrade Java SDK inside snap? But how? |
Sorry I can't access linux right now and I'm not sure if this will fix the problem. Can you export It looks something like this: # setup variable for current terminal
$ export JAVA_HOME=/somewhere/jdk11
$ export PATH=$JAVA_HOME/bin:$PATH
# start with above variables
$ solar2d If the above settings do not build Android properly, we need to wait for the engine core to modify the JDK version on which it depends. |
The same. I think that need to update sdk inside Snap filesystem, because in log:
It doesn't use Java from the system :( |
I had to use OpenJDK version 17 to be able to build Android in Linux.... but it is working now for me |
@amigojapan already installed JDK 17 |
It suppose to use built in JDK… oh. It’s linux, nevermind. Make sure you have javac as well |
Self help steps before reporting the issue:
java -version
andjavac -version
if not, download and install Java 8Before reporting
Install Solar2D today with snap file from Releases. Tried to build a demo project and got build error.
Platforms involved
Building on: Pop!_OS 22.04 LTS x64
Building for: Android
build.settings default from https://docs.coronalabs.com/guide/programming/08/index.html
Full build log
The text was updated successfully, but these errors were encountered: