contributing/development/compiling/compiling_for_android #379
Replies: 5 comments 1 reply
-
This page should be updated with the addition of |
Beta Was this translation helpful? Give feedback.
-
I would also like an update with swappy instructions. When compiling it gives a long yellow warning saying that swappy should be used, but only gives instructions for installing from unix with a bash window. If it can be installed from Windows, please show how and if it can't please say it is ok to use swappy=no and ignore the warning. If swappy should be used, can the source code be included as an engine module? |
Beta Was this translation helpful? Give feedback.
-
Did the option change to generate_android_binaries ? I could not generate the .apk s. I found this in the detect.py, set it from false default to true default. Then ran it again, and it generated the apks as expected. |
Beta Was this translation helpful? Give feedback.
-
I feel like this needs clarifications (to avoid getting errors only after a 2h build).
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
On Ubuntu, you can install it with this: sudo apt install openjdk-17-jdk # also installs openjdk-17-jre as a dependency if it wasn't already installed |
Beta Was this translation helpful? Give feedback.
-
Here it says to install "ndk;23.2.8568313", but scons for Godot 4.5 requires "ndk;28.1.13356709" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
contributing/development/compiling/compiling_for_android
Note: In most cases, using the built-in deployer and export templates is good enough. Compiling the Android APK manually is mostly useful for custom builds or custom packages for the deployer. Also...
https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_android.html
Beta Was this translation helpful? Give feedback.
All reactions