Skip to main content

Build, Sign & Release

Environment​

Windows, Flutter 3.44.5, Dart 3.12, Android SDK 36, JDK 17. The project uses low-disk Gradle settings (-Xmx2048m, Kotlin incremental off, no parallel workers).

$env:TEMP='I:\down\fabrika\temp'
$env:TMP=$env:TEMP
$env:GRADLE_USER_HOME='E:\fabrika-gradle-home'
$env:ANDROID_USER_HOME='I:\down\fabrika\android-home'
$env:ANDROID_HOME='C:\Android\sdk'
flutter pub get
flutter test --concurrency=1
flutter analyze
flutter build apk --release --no-pub

Verify​

  • apksigner verify --verbose --print-certs
  • aapt2 dump badging
  • Hash/size and copy to deliverables + landing downloads.
  • Physical-device QA: camera, mic, storage, PDF/share, permissions, large font, RTL, rotation.

Signing​

Keystore: fabrika_ai_app/android/app/fabrika-release.jks; config: android/key.properties; alias fabrika; RSA 4096; certificate SHA-256 210b78f4…. Back up both files offline. Losing the upload key blocks Play updates.

Versioning​

Current 3.0.0+1. Increment versionCode for every Play upload; never reuse it. Add flutter build appbundle --release for Play.