To help you build efficient apps that are optimised for size, you can check the download and install sizes of your app’s releases and find out how your app’s size has changed over time.
App size is one of the biggest factors that can affect your app’s install and uninstall metrics. It’s important to regularly monitor and understand how you can reduce your app’s download and install sizes. Since the two sizes are related, here’s how they’re different from each other:
- App download size: The size of your app that users download on Google Play. When an app has a larger download size, it takes longer to download.
- App size on device: The amount of space required to install your app. Since apps are compressed when they’re downloaded, it can make install sizes larger than download sizes. When an app has a larger install size, more space is required on a user’s device to complete installation. Once the app is opened, its size on disk varies depending on app usage.
Note: All sizes are representative calculations based on your latest production release and the
XXXHDPI ARMv8 device configuration or the closest supported device configuration for your app.
After you’ve released your app on a production track, here’s where you can see your app’s download and install sizes:
- Open Play Console and go to the App size page (Quality > Android vitals > App size).
- At the top right of the screen, filter page data by App download size or App size on device.
You can find the following data on the App size page:
- App download size/App size on device: Your app’s size on a reference device and its size range across all device configurations.
- App download size/App size on device vs. peers: How your app’s size compares to peers.
- To create a custom peer group of 8–12 apps, click Edit peer group.
- App download size/app size on device over time: How your app’s size has changed and compares to peers over time.
- Near the top right of the chart, you can select the date range that you want to view and tick the tick box to display your app’s size range across all device configurations.
- Active devices with <2 GB available*: The percentage of your app's active users with less than 2 GB of device storage space remaining.
- Uninstalls on devices with <2 GB available*: The ratio of uninstalls on active devices with less than 2 GB of storage space remaining to uninstalls on all active devices.
- The Active devices with <2 GB available and Uninstalls on devices with <2 GB available metrics are calculated based on a 30-day rolling average and are only shown when determined to be applicable to your app.
- On 27 September 2021, we updated the App size on device statistics to use a more representative estimate instead of a worst-case calculation. For this reason, you may see a reduction in App size on device and App size on device breakdown.
If you publish apps using the Android App Bundle, you can view a chart that’s organised by bundle version code with a breakdown of how much space different components of your app account for when compared to your app’s total download or install size for your previous five releases.
You can use this breakdown to find out what parts of your app are taking up the most space and identify areas that you can further optimise for space. The breakdown is based on an APK generated from your app bundle for the reference device configuration.
The breakdowns show the following data:
- App download size breakdown:
- Code/DEX: All Java or Kotlin code in your app compiled for execution on Android in DEX format.
- Resources: Resources include the resource table and non-code components of your app in the res/ directory, such as strings or images.
- Assets: Assets are other files that your app uses in the assets/directory, such as sound files or videos.
- Native libraries: The native code in the libs/ directory of your app. This is typically any code that is not Java or Kotlin.
- Other: Other files in your app.
- App size on device breakdown additionally shows:
- Extracted native libraries: When native libraries are compressed in an APK, they must be extracted into local storage to run your app.
- Optimised DEX: DEX code converted to native code by the Android runtime for performance.
Near the centre of the page, you can view recommendations to optimise your app's size based on an analysis of your most recent release.
If you published your app using an APK, you’ll see a suggestion to use an app bundle with an estimate of your potential size savings. If you publish your app using an app bundle, a more thorough analysis is available, and you’ll see a list of suggested optimisations.
Each optimisation includes specific guidance on what changes to make and, when it’s possible to calculate an estimate, the potential size savings that you’d achieve by implementing the changes. Size estimates are independent estimates and are likely to be different if you implement multiple optimisations at the same time.