Build for Android #
For debug build you can run the command:
flutter build apk
You will get a larger merged apk with this. But you can split them with this command:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Build file location: <project>/build/app/outputs/flutter-apk/
For deploying it please follow this documentation: https://docs.flutter.dev/deployment/android
TIP
Recommended tutorial is below 👇
Build for iOS #
There are no general ways to generate apps for iOS. Apple doesn’t allow to install apps like this debug way. If you want to install it on your iOS device then you have to deploy it on TestFlight or AppStore. For deploying it please follow this documentation: https://docs.flutter.dev/deployment/ios