Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 877 Bytes

DEV.md

File metadata and controls

41 lines (23 loc) · 877 Bytes

Build

  • Duplicate keystore.properties.template and rename the copy to keystore.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

F-Droid

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>

Issues

To fix the emulator not starting in arch linux: ln -sf /usr/lib/libstdc++.so.6 $ANDROID_SDK/emulator/lib64/libstdc++