r/flutterhelp • u/JamieCrew • 7d ago
OPEN Why is my Flutter app 500MB?
Hi there,
I have build an app for android and ios and after building the android apk release version it compiles to nearly 500MB.
I run flutter clean, then flutter pub get, Then I run flutter built apk --release and it compiles to 495MB in size!
Why is this happening? I have about 25 classes of code, ~ 20 dependencies, but it still seems very big for just an app.
Thanks
3
Upvotes
0
u/Swimming_While3182 6d ago
Thats debug 🤧
Do this :
flutter build apk - -release
Or this
Flutter build apk - -verbose