+ 1

Why flutter apps are so heavy?

Hello! I am learning flutter, and i created my first app in apk, it's a Hello World app, but the size was of 25.68MB and that is very heavy for just a text, should i keep learning flutter, or another framework for create Android apps? Or there's any way to reduce the size of the app, sololearners flutter devs?

24th Sep 2020, 5:10 PM
<Camilo/>
<Camilo/> - avatar
6 odpowiedzi
+ 2
i am not a flutter dev yet, but try building it for production, i guess, to check if the size makes more sense. maybe the app is large in dev mode for hot reloading and all that
26th Sep 2020, 3:50 AM
Paul Ebose
Paul Ebose - avatar
+ 1
Yes! The app was in release mode , but i realized that it was set to all android processors, i set the app only for android_arm and the size is now 15MB, it's still heavy but i hope that in .aab format it will be more lightweight. Paul Ebose
26th Sep 2020, 4:17 AM
<Camilo/>
<Camilo/> - avatar
+ 1
Oh okay nice. Regarding the `.aab` format, where can that be used?
8th Nov 2020, 11:22 PM
Paul Ebose
Paul Ebose - avatar
+ 1
.aab stands for android app bundle, and is the format that the google play require his apps
8th Nov 2020, 11:24 PM
<Camilo/>
<Camilo/> - avatar
+ 1
okay thank you
8th Nov 2020, 11:25 PM
Paul Ebose
Paul Ebose - avatar
+ 1
you can build the apk split per abi, it will reduce the size of the apk from 20mb to like 9-10mb
31st Dec 2020, 4:38 PM
Shane Umayanga
Shane Umayanga - avatar