Fastlane - Google Play
Build Flutter apps and automatically upload to Google Play with Fastlane (free)
Prepare the Fastlane environment
Step 1: Install Bundler
gem install bundlerStep 2: Create Gemfile
Gemfilesource "https://rubygems.org"
gem "fastlane"Step 3: Install local dependencies
bundle config set --local path 'vendor/bundle'
bundle installCreate a service account for Google Play API
Step 1: Create a service account in Google Cloud
Step 2: Grant permissions in Google Play Console
Put the JSON key into the project
Initialize Fastlane for Android
Configure Fastfile
FastfileRun release lanes in android folder
android folderFix common issue: Fastlane cannot build AAB because Java is not aligned
Sync JDK for Flutter and Fastlane
Additional notes
Conclusion
MakeLast updated