skip to Main Content

Please what is the best way to reduce a Flutter app to the least size. Most things were simple integrations, then a Credit card payment gateway, nothing else, and its 80MB how can I reduce it to the least size , say 50MB or 40MB

Sought several things on the internet, could not find anything useful.

2

Answers


  1. Where flutter build apk command make an apk in 50MB,
    thereflutter build apk --split-per-abi command will make this apk 5MB. You can try this.

    Login or Signup to reply.
  2. Upload .aab (Android App Bundle) instead of .apk file to the Play Store.
    It reduces the download size for the users.
    For more info refer link description here

    Your APK might contain content that users download but never use, like additional language or per-screen-density resources. To ensure a minimal download for your users, you should upload your app to Google Play using Android App Bundles. Uploading app bundles lets Google Play generate and serve optimized APKs for each user’s device configuration, so they download only the code and resources they need to run your app.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search