DEV Community

Cover image for πŸš€ How to Reduce Flutter App Size Using `--split-per-abi` (Step-by-Step)
Parikshit verma (Honey)
Parikshit verma (Honey)

Posted on • Originally published at techycodex.com

πŸš€ How to Reduce Flutter App Size Using `--split-per-abi` (Step-by-Step)

When you're ready to release your Flutter app, APK size matters β€” especially for users on slow networks or low-end Android devices.

In this guide, I'll show you how to reduce your Flutter APK size using one powerful command:

flutter build apk --release --split-per-abi
Enter fullscreen mode Exit fullscreen mode

🧠 Why App Size Matters
Default flutter build apk creates a fat APK that includes binaries for all Android architectures:

  1. - armeabi-v7a
  2. - arm64-v8a
  3. - x86_64 (used mostly by emulators)

That means one giant APK, sometimes 70MB+ in size. 😬

βš™οΈ The Solution: --split-per-abi
Instead of bundling all architectures into one APK, this flag tells Flutter to generate separate APKs per ABI:

flutter build apk --release --split-per-abi
Enter fullscreen mode Exit fullscreen mode

πŸ“ Output Files

(Located in build/app/outputs/flutter-apk/):
app-arm64-v8a-release.apk

app-armeabi-v7a-release.apk

app-x86_64-release.apk

These are much smaller than the default fat APK!
Enter fullscreen mode Exit fullscreen mode

πŸ“‰ Size Comparison
APK Type Approx Size

Fat APK ~70 MB
armeabi-v7a ~30 MB
arm64-v8a ~34 MB

βœ… Why Use This?

  • πŸš€ Faster app installs
  • πŸ“± Better experience on low-end devices
  • πŸ† Improved Play Store install success
  • 🧩 Less storage = more retention

πŸ”— Official Docs & Resources
πŸ“– Flutter Docs – Build and release APK

πŸ“š More Flutter tutorials at TechyCodex

πŸ’¬ Wrapping Up
Using --split-per-abi is a must-have trick in your Flutter production workflow. It’s simple, powerful, and drastically reduces your APK size.

πŸ‘‰ If you found this helpful, follow TechyCodex for more dev tips, Firebase tricks, and mobile build strategies!

🧠 Got questions? Drop them below β€” I’d love to help or learn from your experience!

✍️ Written by Parikshit Verma for TechyCodex

Top comments (0)