Skip to content

Android

temidaradev edited this page Nov 30, 2026 · 1 revision

Install from Google Play, or grab kopuz-<version>-arm64-v8a.apk from the releases page and install it. Only 64-bit ARM devices are supported (Android 7.0 / API 24 and newer). The APK is signed with the project release key, so an install from a different source has to be uninstalled first.

To build one yourself you need the Android SDK (build-tools + platform 34) and NDK, with ANDROID_HOME and ANDROID_NDK_HOME exported:

apps/kopuz/mobile/scripts/build-apk.sh --app kopuz --release
adb install -r apps/kopuz/mobile/build/kopuz-gpui-app.apk

The script signs the APK with the release key when these are exported, and with a throwaway debug key otherwise:

Variable Meaning
KOPUZ_ANDROID_KEYSTORE path to the JKS/PKCS12 keystore
KOPUZ_ANDROID_KEYSTORE_PASSWORD store password
KOPUZ_ANDROID_KEY_ALIAS key alias inside the store
KOPUZ_ANDROID_KEY_PASSWORD key password (defaults to the store password)

CI reads the same values from the repository secrets: ANDROID_KEYSTORE_BASE64 (the keystore, base64-encoded), ANDROID_KEYSTORE_PASSWORD and ANDROID_KEY_ALIAS are required, while ANDROID_KEY_PASSWORD is optional and, when set, overrides the default derived from ANDROID_KEYSTORE_PASSWORD. A tagged build fails outright if a required one is missing, so a release can never ship unsigned; validation runs on branches and forks build an unsigned APK instead.

The Android versionCode is derived from the crate version as major * 10000 + minor * 100 + patch, so bumping version in Cargo.toml is all an update needs. Minor and patch have to stay below 100: past that the fields would collide, and the build stops rather than emit a duplicate code.

packaging/fdroid/moe.kopuz.kopuz.yml is the build recipe to submit to fdroiddata; F-Droid builds from source and signs with its own key, so its APKs and the GitHub ones are not interchangeable. Its builds stop at 0.67.0, the legacy app; the GPUI app needs a recipe of its own before F-Droid can build it, so new tags are not added to it automatically.

Clone this wiki locally