xxxxxxxxxx
flutter clean
flutter build apk
After you run the command go to build->apps->output->apk
xxxxxxxxxx
For apk (Android) you need to run the command :
flutter build apk --release
If you want to split the apks per abi (Split Apk) then run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
For ipa (iOS) you need to run the command :
flutter build ios --release
xxxxxxxxxx
--BUILD APK IN FLUTTER--
flutter build apk --split-per-abi --no-tree-shake-icons
-- BUILD WEB IN FLUTTER --
flutter build web --release --web-renderer html
xxxxxxxxxx
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload