flutter build android release code example

Example 1: flutter apk release

flutter build apk --split-per-abi

Example 2: build apk flutter command

flutter clean
flutter build apk

Example 3: flutter signed apk

keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key

Example 4: flutter release

keytool -genkey -v -keystore c:\Users\USER_NAME\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key

Example 5: build and release flutter app

keytool -genkey -v -keystore c:\Users\USER_NAME\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload

Tags:

Dart Example