New tools to optimize your app's size and boost installs on Google Play (Google I/O'19)

Android Developers · 29K views · 2019 · 36:26

Open on YouTube

Software practice, open source & careersConsumer devices & gadgetstalkdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about Android app size, APK versus download size, and App Bundle behavior, since one answer comes from a presenter.

Recommended by 3 people across 3 different months, 2019 to 2021.

What it is

A Google I/O 2019 session from the Android Developers channel on how app size affects install conversion on Google Play. The Google Play team covers how apps are delivered under limited storage or slow networks, and presents tools and best practices such as the Android App Bundle to shrink apps and boost installs.

What people said

Recommends Morrison Chang · 2019-07 · Stack Overflow · on “Find the size of an android/iphone app from Android studio/Xcode?”

APK Analyzer [LINK] and bundletool [LINK] are probably what you are looking for. See Google IO 2019 Optimize App Size session [this video] for more details.

Recommends Pierre · 2019-09 · Stack Overflow · on “Android app bundle generated APK size huge when containing .so files”

What matters is not the file size of the APK, but the download size of your app and the size on device of your app. When you build an App Bundle, by default Play will leave the native libraries (.so) uncompressed in the generated APKs. Although this leads to a bigger APK file, this results in: Smaller downloads for users because the compression over-the-wire can be more efficient, Smaller app size on the device because the Android platform can mmap the .so files directly into memory without having to extract them first into a directory (thus saving a copy of the uncompressed .so file on disk). bundletool [LINK] actually provides a command get-size which estimates the download size for you. I

Recommends Ashton Yoon · 2021-03 · Stack Overflow · on “Drawbacks of having large Android App Size on device”

large size is not very relevant performance, but Increase the probability of installation failures on unstable networks. and Wi-Fi and unlimited data plans may be taken for granted in some regions, but for the vast majority of users, data speed is a major issue. These users are more likely to cancel the app they are downloading after checking the amount of data remaining. I recommend this video [this video]