how to reduce apk filesize for flutter build apk?

158

Run flutter build apk --split-per-abi

This will build specific apk files for separate cpu architectures for mobile.

By default the apk that runs in emulator has a lot of debug libraries in it which increases the apk size by a huge factor.

Share:
158
Julia Pak
Author by

Julia Pak

Updated on December 18, 2022

Comments

  • Julia Pak
    Julia Pak 11 months

    Want to know how to reduce you flutter apk files? Currently the files produced are quite large, usually around 80 mb. This is simply too large for many purposes and it may help you to reduce the file size.