- Android Studio or JDK 17 installed.
- Gradle (included in the project via wrapper).
-
Open Terminal in the project root.
-
Generate a Signing Key (if you don't have one):
keytool -genkey -v -keystore release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-key-alias
Keep this file safe!
-
Configure Build Types:
- Open
app/build.gradle.kts. - Ensure
signingConfigsis set up to read from your keystore (or use the GUI). - For a quick unsigned/debug build that works on your phone immediately:
- Open
-
Run Build Command:
./gradlew assembleDebug
This generates an APK at
app/build/outputs/apk/debug/app-debug.apk. You can install this on any device. -
For Signed Release:
- Go to Build > Generate Signed Bundle / APK in Android Studio.
- Select APK.
- Chose
release. - The output will be in
app/release/.
./gradlew installDebug