flutter sign apk in release mode code example
Example 1: build apk flutter command
flutter clean
flutter build apk
Example 2: flutter signed apk
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
flutter clean
flutter build apk
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key