This module provides the app for Android. Fragments, activities, services, etc. are here. This is single activity app that uses Jetpack navigation via fragments.
(run from root project directory):
Linux/MacOS
$ ./gradlew app-android:assembleDebug
Windows:
$ gradlew app-android:assembleDebug
This is required when you want to upload the app to Google Play or other app stores. This works as per App Signing Documentation.
Option 1: Create a keystore properties file in project root directory.
Linux/MacOS
$ cp keystore.properties.example keystore.properties
Windows:
$ COPY keystore.properties.example keystore.properties
Edit keystore.properties to specify your signing key (see Remove signing information from your build files official documentation if needed for extra info on properties).
Option 2: Specify the keystore properties location using an environment variable
Set the KEYSTORE environment variable before running the gradle build command
Windows:
SET KEYSTORE=C:\PATH\TO\keystore.properties
Linux/MacOS:
export KEYSTORE=/path/to/keystore.properties
The release variant will now be signed with the key as per keystore.properties.
(run from root project directory):
$ ./gradlew ':app-android:assembleDebug'