Build Android Job
Build Android Job
Section titled “Build Android Job”The Build Android job creates APK or AAB artifacts for Android deployment.
Configuration
Section titled “Configuration”| Option | Description | Default |
|---|---|---|
| Build Type | appbundle (AAB) or apk | appbundle |
| Build Mode | release, debug, profile | release |
| Target | Entry point file | lib/main.dart |
| Flavor | Flutter flavor | - |
| Environment Variables | Key-value pairs | - |
Build Command
Section titled “Build Command”# For AAB (recommended for Play Store)flutter build appbundle --release
# For APKflutter build apk --releaseArtifacts
Section titled “Artifacts”| Build Type | Artifact | Location |
|---|---|---|
| AAB | App Bundle | build/app/outputs/bundle/release/*.aab |
| APK | APK | build/app/outputs/flutter-apk/*.apk |
Signing
Section titled “Signing”Android release builds are signed with:
- Debug: Auto-generated debug keystore
- Release: Your upload key (keystore)
Configure via android/key.properties:
storeFile=../upload-keystore.jksstorePassword={{KEYSTORE_PASSWORD}}keyAlias={{KEY_ALIAS}}keyPassword={{KEY_PASSWORD}}Example Pipeline
Section titled “Example Pipeline”┌──────────┐ ┌──────────────┐ ┌────────────────┐│ On Tag │────▶│Build Android │────▶│Deploy Android │└──────────┘ └──────────────┘ └────────────────┘