how to generate apk from flutter code example

Example 1: flutter build android release apk small

flutter build apk --split-per-abi

Example 2: flutter generate apk

flutter build appbundle

Example 3: flutter build apk

flutter build apk --split-per-abi

Example 4: flutter signed apk

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

Example 5: how to generate release apk in flutter

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

Tags:

Dart Example