Boost Your Flutter APK Builds Using --split-per-abi for Smaller App Size

Blog Image

๐Ÿš€ Boost Your Flutter Release Builds Using --split-per-abi

When you're ready to release your Flutter app, build size matters โ€” especially for users with limited bandwidth or storage. In this post, youโ€™ll learn how the flutter build apk --release --split-per-abi command helps you generate smaller APKs and deliver better performance across different Android architectures.

ย 

๐Ÿง  What is --split-per-abi?

Android devices run on different CPU architectures like:

  • armeabi-v7a โ€“ common in older devices

  • arm64-v8a โ€“ used by most modern Android phones

  • x86_64 โ€“ mostly for emulators

By default, flutter build apk creates a fat APK containing binaries for all these architectures, increasing app size unnecessarily.
Using --split-per-abi generates separate APKs for each architecture, keeping things light and efficient.

ย 

โš™๏ธ How to Use the Command

flutter build apk --release --split-per-abi

๐Ÿ“ Output Directory:

โˆš Built build\app\outputs\flutter-apk\app-armeabi-v7a-release.apk (70MB)
โˆš Built build\app\outputs\flutter-apk\app-arm64-v8a-release.apk (30MB)
โˆš Built build\app\outputs\flutter-apk\app-x86_64-release.apk (34MB)

๐Ÿ“ฆ APKs Generated:
  • app-armeabi-v7a-release.apk

  • app-arm64-v8a-release.apk

  • app-x86_64-release.apk

ย 

๐Ÿ“‰ Size Comparison

APK Type Approx Size

Fat APK ~70 MB

ย armeabi-v7a ~30 MB

ย arm64-v8a ~34 MB

ย 

Smaller APKs mean:

  • Faster downloads

  • Less space usage

  • Better install success rate on low-end devices

ย 

๐Ÿ”— Further Reading & Backlinks

ย 

๐Ÿ’ฌ About TechyCodex

TechyCodex is a dev-focused publication sharing hands-on tutorials, project ideas, and tools in Flutter, Firebase, and full-stack development.
Whether youโ€™re a student, self-taught dev, or professional โ€” weโ€™re here to level up your coding game!

๐ŸŒ Visit: https://www.techycodex.com
โœ๏ธ Written by Parikshit Verma for TechyCodex

Previous Post Next Post

Comments:

Leave a comments:

Search
Tags

Letโ€™s work together

Each demo built with Teba will look different. You can customize anything appearance of your website with only a few clicks