Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 754 Bytes

NOTES.org

File metadata and controls

23 lines (23 loc) · 754 Bytes

Updating SDK/build tools version

  • app/build.gradle
    • compileSdk
    • buildToolsVersion
    • targetSdk
    • sourceCompatibility
    • targetCompatibility
    • jvmTarget
  • app/src/main/AndroidManifest.xml
    • targetApi
  • flake.nix

Releasing a new version

  • app/build.gradle
    • versionCode
    • versionName
  • Sign app
    ./gradlew assembleRelease
    rm -rf app/release && mkdir -p app/release
    zipalign -v -p 4 app/build/outputs/apk/release/app-release-unsigned.apk app/release/app-release-unsigned-aligned.apk
    apksigner sign --ks ~/.AndroidKeyStore/textbender-fdroid.jks --out app/release/app-release.apk app/release/app-release-unsigned-aligned.apk
    apksigner verify app/release/app-release.apk