Reputation: 1
My query is regarding Flutter App Size I am building an application currently only for android user So can i remove the entire IOS folder thing (😅i am beginner so please do not bother if it seems silly) Or any other alternative to reduce app size Thank you.
Upvotes: -1
Views: 154
Reputation: 947
I believe you are a little bit confused on this one. When you are developing an app your application folder might weight a lot depending on packages and assets you are using but when you are building and releasing an Android app the development kit will only use the necessary files and export a very tiny sized appbundle compared to your development folder.
Example they are the same application;
Left side is built Android app
Right side is development folder
Upvotes: 0
Reputation: 888
The best way is build bundle
flutter build appbundle
Or build apk and split
flutter build apk --split-per-abi
When u split the apk the Android build three differents apk (separated by arch).
This reduce the apk size
https://developer.android.com/platform/technology/app-bundle
Upvotes: 1