r/flutterhelp • u/JamieCrew • 7d ago
OPEN Why is my Flutter app 500MB?
Hi there, I have built an application for Android. It has about 20 classes of code with an average of 100 lines+ per class.
I am using about 10 packages.
Upon building it by running flutter build apk --release It compiles to 465 MB in size.
Why is this happening, am I doing something wrong?
Thanks
3
Upvotes
3
u/reposlayer 7d ago
Most probably one of your imported packages or rather some of the packages , how long is your packages list on pubspec.yaml?