Android App Bundle — replacement of Android APK

Android App Bundle is a new upload format that includes all of the Android app’s compiled code and resources, but defers APK generation and signing to the Google Play Store.

Google Play’s new app serving model, called Dynamic Delivery, then uses app bundle to generate and serve optimized APKs for each user’s device configuration, so each user downloads only the code and resources they need to run app. One no longer need to build, sign, and manage multiple APKs, and users get smaller, more optimized downloads.

Additionally, developers can add dynamic feature modules to your app project and include them in their app bundle. Through Dynamic Delivery, their users can then download and install their app’s dynamic features on demand.

How to build App bundle for your app??

To build a bundle, choose Build > Build Bundle(s) / APK(s) > Build Bundle(s).

screenshot from my mac

How to find App bundle in your project??

To find a bundle, choose Your Project>app>build > output >bundle > debug > app.aab

screenshot from my mac

Benefits of App Bundle

  • With the Android App Bundle, developers build one artifact that includes all of their app’s compiled code, resources, and native libraries for their app. They no longer need to build, sign, upload, and manage version codes for multiple APKs.
  • Google Play’s Dynamic Delivery uses Android App Bundle to build and serve APKs that are optimized for each device configuration. This results in a smaller app download for end-users by removing unused code and resources needed for other devices.
  • Further, reduce the size of the app by installing only the features that the majority of audience use. And then, with Dynamic Delivery, users can download and install dynamic features when they’re needed. Use Android Studio 3.2 to build apps with dynamic features, and join the beta program to publish them on Google Play.
  • Developers will soon be able to “instant enable” the Android App Bundle, so that users can launch modules instantly, from any link, and without installation. Regardless of whether they start by building an app bundle or Android Instant App, they’ll be ready for instant-enabled Android App Bundles when we roll this feature out to all developers.

I am writing code for the project on GitHub repo here.

Hope you found this story useful and interesting. Feel free to share your feedback and comments and don’t forget to clap 👏 👏.

I am Ankit Kumar. A mobile and IoT developer and exploring Data Science. You can find me on Linkedin, Medium, Twitter or stalk me on GitHub. Or just drop a mail to if you wish to talk tech with me.

This story is published in The Startup, Medium’s largest entrepreneurship publication followed by + 381,088 people.

Subscribe to receive our top stories here.