Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apk size of flutter app #15778

Closed
himanshu-mind opened this issue Mar 21, 2018 · 5 comments
Closed

Apk size of flutter app #15778

himanshu-mind opened this issue Mar 21, 2018 · 5 comments
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@himanshu-mind
Copy link

While creating a simple list view in flutter app the size of the apk reaches 25mb. Is this normal or is there a way to reduce the apk size?

@ics042
Copy link

ics042 commented Mar 21, 2018

Is this a release apk or debug apk, from my experience, size of debug apk is 20+MB, but if you build a release apk, the size would be reduced to around 7MB if there is no too many assets(images, font files, etc.)

@chinmaygarde
Copy link
Member

Like @ics042 mentioned, it seems like you are measuring the size of the debug APK. Can you run flutter build apk --release and check the size of the APK generated as a result of that command?

@chinmaygarde chinmaygarde added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Mar 22, 2018
@ics042
Copy link

ics042 commented Mar 26, 2018

From my observation, the size of android released APK file is reasonable(around 7MB without too many assets), but when I built an iOS ipa, the size of the released ipa was 19.8MB. If it's the normal size of a released ipa file, hopefully this would be optimized in the future.

@eseidelGoogle
Copy link
Contributor

ipas are typically uncompressed where as .apks are compressed. :)

We really need an FAQ entry to better explain measuring sizes. I've filed https://github.com/flutter/flutter/issues/16191

I'm going to close this for now, but please feel empowered to re-open if you don't feel we've resolved your issue.

@github-actions
Copy link

github-actions bot commented Sep 3, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

4 participants