724 B
724 B
Run it from the project root:
./build_prod_apk.sh
The APK lands at build/outputs/rentaldrivego-release.apk.
One thing to sort out before distributing — the build.gradle.kts currently signs with the debug key in release mode: signingConfig = signingConfigs.getByName("debug") That's fine for internal testing, but app stores and most MDM systems require a proper release keystore. When you're ready to publish:
- Generate a keystore once:
keytool -genkey -v -keystore android/rentaldrivego.jks
-alias rentaldrivego -keyalg RSA -keysize 2048 -validity 10000 - Add the signing config to android/app/build.gradle.kts pointing at that keystore
- Add android/rentaldrivego.jks to .gitignore