Documentation · Build from source · Build for Android

Build for Android

How to build the app for Android.

Build for Android

scripts/android/apk.sh space build --target aarch64

The APK appears in the apps/space/gen/android/app/build/outputs/apk/universal/release/ folder. It's signed with a debug key. Install it with adb install -r <file>. Run only one Android build at a time.

The script works on Linux x86_64. The first build downloads the JDK, the Android SDK and NDK, and the Rust targets into data/toolchains/: they take a lot of disk space. Modes: build signs with a debug key and doesn't install; test signs and installs on the phone; release signs with the release key.