These instructions are intended for Debian-based systems. Adapt them for your operating system if needed.
Install Rust with rustup, which is the recommended installation method:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
cargo install cargo-ndk@4.1.2 --lockedThe app uses NDK version 29.0.14206865.
If you use Android Studio, you can install the NDK from Tools → SDK Manager → SDK Tools.
Or install it with sdkmanager:
sudo apt update && sudo apt install -y sdkmanager
mkdir -p "$HOME/Android/Sdk"
export ANDROID_HOME="$HOME/Android/Sdk"
sdkmanager --install "ndk;29.0.14206865"You can now build the app in Android Studio like any other project.
Install Java 21 or later:
sudo apt install -y openjdk-21-jdk-headlessAccept the Android SDK licenses:
yes | sdkmanager --licensesBuild the debug variant:
chmod +x ./gradlew
./gradlew assembleDebugTo build the release variant, make sure your signing config is set up, then run:
./gradlew assembleRelease