flutter sign apk code example

Example 1: flutter build aab

flutter build appbundle

Example 2: flutter sign apk

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

Example 3: create signingConfigs flutter macos

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

Example 4: flutter build signed bundle --release

flutter build signed bundle --release

Example 5: flutter build apk relese

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

Tags:

Java Example