How to Reduce Flutter Android App Size in 2026: A Release Review Routine (App Bundle, Split Debug Info, R8)

By · Published 2026-10-10 · Last verified 2026-11-15

To reduce a Flutter Android app's size, measure a release Android App Bundle in Play Console, not a debug build or a universal APK. Flutter's app-size guide and Google Play's App size page are the sources for the numbers that matter: download size and install size on a reference device. Then apply the levers those same docs describe: ship an App Bundle, move debug info out with --split-debug-info, enable R8 shrinking, and audit assets and plugins. This is a one-release review routine built from those official pages, re-checked on 2026-11-15.

What each size number actually means

Different commands print different totals, and only some of them describe what a user downloads. Use this table when you compare builds.

Table of Flutter Android size numbers: a debug APK and a universal upload file are not what users download, the analyze-size JSON shows where bytes go, and Play Console reports download size and install size for a reference device
Measure the number Play reports, not the debug APK.
NumberWhere it comes fromUse it for user download size?
Debug APK or flutter runA debug build, which includes tooling for hot reload and source-level debuggingNo. Flutter's guide says a debug build "is not representative of a production app end users download."
Default flutter build apk or App Bundle file sizeThe upload package, which can include every CPU architecture and screen densityNo as a user-download figure. Flutter says the stores "reprocess and split your upload package," so this file is "not representative of your end-users' download size."
--analyze-size JSON and DevToolsA release build that records Dart package sizes and writes a *-code-size-analysis_*.json fileUse it to see where bytes go and to compare two builds. Flutter warns that this breakdown is still not the Play download size, because Play can filter unused architectures and densities.
Play Console download sizeMonitor and improve → Android vitals → App size, after a production releaseYes, this is the closest official figure. Flutter and Play both say it is calculated for an XXXHDPI, arm64-v8a (ARMv8) reference device; real devices can differ.
Play Console install sizeThe same App size page, using the download/install toggle Flutter describesYes, for how much space the app takes once it is installed on that reference device.

Play also enforces compressed-download limits on the App Bundle. The base module limit is 500MB. If an app is above 200MB, Play shows a non-blocking dialog to users on a mobile data connection. Apps still published as APKs, rather than App Bundles, stay on the legacy 100MB APK cap. Those figures come from Play Console Help, checked on 2026-11-15; they are limits, not targets.

Break down where the bytes go

Pass --analyze-size on a release build, for example flutter build appbundle --analyze-size. Flutter says this build records Dart package code size, prints a category summary in the terminal, and leaves a *-code-size-analysis_*.json file. Open that file in DevTools: run dart devtools, choose "Open app size tool", and upload the JSON. You can also load two JSON files and diff them, which is the official way to compare two releases.

Two columns: the Flutter analyze-size JSON and DevTools view show a relative breakdown by package, while Play Console App size reports the download and install size users actually get on a reference device
Use DevTools to find the bytes, Play Console to record the download size.

The terminal summary groups size by category, such as assets, native code and Flutter libraries, and it breaks the compiled Dart library down by package. In a Flutter Android app those buckets usually correspond to:

The levers, in the order to apply them

Turn the official switches on first, then audit what you added.

1. Ship an Android App Bundle

Google's App Bundle documentation says that since August 2021 new apps must publish with an Android App Bundle on Google Play. The bundle lets Play deliver only the code and resources each device needs. Build it with flutter build appbundle, as Flutter's Android deployment guide describes.

2. Split debug info out of the binary

Flutter's app-size guide says that building a release with the --split-debug-info flag "can dramatically reduce code size." The obfuscation guide shows the paired flags: --obfuscate and --split-debug-info=/<symbols-directory>. Obfuscation itself renames Dart symbols to make reverse engineering harder; the size win is mainly from moving debug info out. Keep the symbol files for every release, because you need them to read obfuscated stack traces with flutter symbolize. If you use Crashlytics, upload them as well. Our release routine for Flutter obfuscation and Crashlytics symbol uploads covers archiving and uploading them.

3. Turn on R8 shrinking for the Android side

Android's R8 guide, last updated 2026-08-27, says you should always enable optimization for the release build. On Android Gradle Plugin 9.3 and higher, that is a single optimization { enable = true } block, which turns on both code and resource optimization. On older AGP versions set isMinifyEnabled = true and isShrinkResources = true. From AGP 9.0, optimized resource shrinking is applied automatically when resource shrinking is on; on AGP 8.12 and 8.13 it needed android.r8.optimizedResourceShrinking=true in gradle.properties.

Then run a full test pass. R8 removes unreachable code and can strip classes that are only reached through reflection, and plugins sometimes need keep rules. If a shrunk release crashes where debug worked, see seven causes when a Flutter app works in debug but not in release.

4. Audit assets and dependencies

A one-release Flutter Android size review

This is the method to run on each release, once the levers above are in place.

Four steps of a one-release Flutter Android size review: build the app bundle with analyze-size, compare the JSON in DevTools, test the shrunk release build, then record Play download and install size
A one-release size review, once the official levers are on.
  1. Build the release bundle with flutter build appbundle --analyze-size --obfuscate --split-debug-info=/<symbols-directory>, and archive the symbols folder under the version number.
  2. Read the terminal category summary, then open the JSON in the DevTools app size tool.
  3. If you kept the previous release's JSON, load both files and use DevTools' diff view to see what grew.
  4. If something grew, find out why before you upload: a new plugin, a new asset, or a dependency upgrade.
  5. Install a release build on a real device and exercise the screens most likely to break under R8 shrinking.
  6. After the app is on a production track, copy Play Console's download size and install size from Android vitals → App size into the changelog, and note whether you are near the 200MB mobile-data warning.

A related Play requirement, separate from download size, is the 16 KB page-size check for native libraries; see how to check and fix Flutter 16 KB page size on Google Play.

Common mistakes

Vertical Pinterest graphic with five steps to reduce Flutter Android app size: measure Play download size, ship an App Bundle, split debug info, enable R8 shrinking, and diff the analyze-size JSON each release
Pinterest pin: how to reduce Flutter Android app size.

FAQ

Why is my Flutter APK so much bigger than the Play download size?

A universal APK includes native code and resources for all devices. Play generates a smaller, device-specific set from your App Bundle, and the App size page reports that download size for a reference device.

Does obfuscation make the app smaller?

Flutter's app-size guide says --split-debug-info "can dramatically reduce code size." Obfuscation itself, with --obfuscate, is mainly about renaming symbols. Measure your own release to see the difference.

Is R8 shrinking safe for Flutter apps?

Android recommends enabling it for every release build, but you still need to test. Some plugins or SDKs need keep rules, which their documentation normally lists.

What is the difference between download size and install size?

Play Console's App size page has a toggle for both, as Flutter's measuring guide describes. Download size is the compressed amount users get over the network on the reference device. Install size is the space the app takes once it is installed on that device.

How often should I review app size?

Run the one-release review on every release, and do a deeper plugin and asset audit whenever a dependency is added.

Sources

More guides: the GSPTeck blog.