build flutter apk in android studio code example
Example 1: build apk flutter command
flutter clean
flutter build apk
Example 2: react-native android build apk
cd android
./gradlew assembleRelease
Example 3: flutter sign apk
keytool -genkey -v -keystore c:/Users/USER_NAME/key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key
Example 4: flutter publish app
keytool -genkey -v -keystore c:\Users\USER_NAME\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key
Example 5: capacitor build android without android studio
ionic capacitor copy android && cd android && ./gradlew assembleDebug && cd ..