๐ 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
- 
๐ More guides at TechyCodex
 - 
๐ง Source code & sample repo: GitHub Repository
 
ย
๐ฌ 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
                
                                            
                                            
                                            
                                            
Comments: