- Duplicate
keystore.properties.template
and rename the copy tokeystore.properties
. Update the new file with correct information. - Do the same thing for
app.properties.template
. - You are ready to build it!
Get current version:
./gradlew currentVersion
Get report on dependencies
./gradlew dependencyUpdates
Build debug APK:
./gradlew clean assembleDebug
Build prod APK:
./gradlew clean build
Lock dependencies:
./gradlew android-app:dependencies --write-locks
Build F-Droid APK:
./gradlew clean assembleFoss
Build with F-Droid tools:
fdroid checkupdates -v fr.cph.chicago.foss
fdroid build -v -l fr.cph.chicago.foss:<versionCode>
fdroid publish -v fr.cph.chicago.foss:<versionCode>
To fix the emulator not starting in arch linux: ln -sf /usr/lib/libstdc++.so.6 $ANDROID_SDK/emulator/lib64/libstdc++