flutter generate apk

C++
flutter clean
flutter build apkflutter build apk --split-per-abiflutter build appbundlekeytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key

Source

Also in C++: