Flutter Android Deployment
Flutter Android Deployment
Section titled “Flutter Android Deployment”Deploy your Flutter app to Google Play automatically.
Prerequisites
Section titled “Prerequisites”- Build agent with Android SDK
- Google Play Developer account ($25 one-time)
- App registered in Google Play Console
- Service account with API access
-
Create Service Account
- Go to Google Play Console > Setup > API access
- Create service account with Release Manager role
- Download JSON key
-
Add Secrets
GOOGLE_PLAY_SERVICE_ACCOUNT: JSON key contentsKEYSTORE_FILE: Base64-encoded keystoreKEYSTORE_PASSWORD: Keystore passwordKEY_ALIAS: Key aliasKEY_PASSWORD: Key password
-
Configure Pipeline
- Add Build Android job
- Add Deploy Android job
- Set track (internal, alpha, beta, production)
-
Push and Deploy
Signing
Section titled “Signing”Configure android/key.properties:
storeFile=../upload-keystore.jksstorePassword={{KEYSTORE_PASSWORD}}keyAlias={{KEY_ALIAS}}keyPassword={{KEY_PASSWORD}}