Publish smaller apps with the Android App Bundle

Android Developers · 108K views · 2018 · 3:41

Open on YouTube

Software (other)Web developmentexplainerdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about reducing Android app size and when explaining how to produce and upload app bundles.

Recommended by 1 people across 1 different months, 2018 to 2021.

What it is

A short official Android Developers video introducing the Android App Bundle, an upload format where Google Play builds and signs optimized APKs per device via Dynamic Delivery. It explains how users get smaller downloads without developers managing multiple APKs, and mentions on-demand feature modules.

What people said

Recommends Suresh Maidaragi · 2018-05 · Stack Overflow · on “How to reduce App (.apk) Size”

Along with the above most upvoted answers, I would like to answer with latest tools from Google's Android Studio. Google recently has introduced the Android App Bundle [this video] in which playstore automatically delivered optimized version of apk to end devices. Now developers just has to generate Signed Bundle, and upload to play store, dev job is done. Don't forget always use SVG images. Also please have look into Deliver Features On-Demand with Dynamic Features [LINK] [LINK]

Cites Dominik Roszkowski · 2018-05 · Stack Overflow · on “Are you really supposed to put three copies of an image in a Xamarin.Forms project?”

Fun fact is that in 2019 Google is going to introduce app bundling which means that they will be converting apk to several different apks depending on the resoruce resoultion and architecture type - see more here [this video] . Thus, providing several different resolutions will help to reduce app size on user device.

Cites Adam Varhegyi · 2018-07 · Stack Overflow · on “There is no "Generate Signed Bundle" menu optin in my android studio”

I would like to try Android's App Bundle feature. [LINK] However, when I would like to make my own app bundle, I cannot because t here is no such menu option in my Android Studio , see pic below. [LINK] The official youtube video about this topic [this video] shows the following: [LINK] I have also added android.enableAapt2=true to my gradle.properties file, just as the official sources say, also restarted Gradle daemon, also restarted Android Studio: Note: Android Studio requires AAPT2 to build app bundles, which is enabled for new projects by default. However, to make sure it is enabled on existing projects, include android.enableAapt2=true in your gradle.properties file and restart the Gradle

Cites Krblshna · 2020-05 · Stack Overflow · on “How to support different spites densities in Unity for android devices?”

I'm making 2d game in Unity with 4k images, need to optimize images for mobile deivces. I've found that android have excellent approach for my case. Just create different folders for screen resolutions (xhdpi, hdpi, mdpi, ldpi) (check link [LINK] for more information) and publish your game as app bundle [LINK] . When user will download the game, he will get textures resolution that his device supported and that's super cool and what I exactly need (usefull link [this video] about it). But I can't find any information how to do it in Unity (create images for different resolutions and make smart app bundle). Unity support [LINK] app bundle, but how to handle different resolution sprites - still mis

Cites Dipak Ramoliya · 2021-12 · Stack Overflow · on “Flutter apps are too big in size”

Check this below steps it may help you to reduce app size (only Android), i have reduced my 48mb build to 14mb Step 1: android/gradle.properties android.enableR8=true Step 2: android/app/build.gradle inside -> buildTypes -> release minifyEnabled true shrinkResources true useProguard true Step 3: Run flutter build apk --target-platform=android-arm or flutter build apk --split-per-abi Some other optimizing tips, 1. Image assets Upload the images in permanent storage path like AWS or in your website server and use the link to that image in your code. 2. Icons Its recommended to use from Material Icons or Cupertino Icons class. You can add --tree-shake-icons option to flutter build command, to r

Cites Jai Techie · 2021-12 · Stack Overflow · on “How to decrease flutter app size in android”

Check this below steps it may help you to reduce app size (only Android), i have reduced my 48mb build to 14mb Step 1: android/gradle.properties android.enableR8=true Step 2: android/app/build.gradle inside -> buildTypes -> release minifyEnabled true shrinkResources true useProguard true Step 3: Run flutter build apk --target-platform=android-arm or flutter build apk --split-per-abi Some other optimizing tips, 1. Image assets Upload the images in permanent storage path like AWS or in your website server and use the link to that image in your code. 2. Icons Its recommended to use from Material Icons or Cupertino Icons class. You can add --tree-shake-icons option to flutter build command, to r