Android App Bundle Explained
Android App Bundle is the Android application publishing file format. The App Bundle must include the application's compiled code and resources, which allows for the signing and generation of APK files to be deferred to the app store, reducing the initial download size of the app.[1] The file extension used for this format is ".aab".[2]
Google Play requires Android App Bundles for all new apps since August 2021 and for all updates to preexisting apps since November 2021.[3] [4] Since May 2023, Android TV requires AABs.[5]
Split APKs
Without Android App Bundles, an APK can support multiple languages, up to four different CPU architectures, and several display resolutions.[6] This meant that each installation file could contain potentially large amounts of bloat irrelevant for a device's specific combination of CPU, locale, and screen size.
Split APKs, which are generated by an app store like Google Play, contain only the code and resources that are needed for the specific device downloading the app.[7] If the user changes their device language or feature set, the app store can then deliver additional split APKs on demand to meet the changed requirements.[8]
Android App Bundles are required for using "play as you download" feature of Google Play, which lets users download and install a portion of the game to start playing and then download the rest while the user is occupied by the first level.[9]
See also
Notes and References
- Web site: About Android App Bundles . 2021-08-15 . Android Developers . en . 2021-08-09 . https://web.archive.org/web/20210809200609/https://developer.android.com/guide/app-bundle . live .
- Web site: bundletool . 2021-10-19 . Android Developers.
- Web site: Peters . Jay . 2021-06-30 . Google is moving away from APKs on the Play Store . 2021-08-15 . The Verge . en . 2021-08-04 . https://web.archive.org/web/20210804045536/https://www.theverge.com/2021/6/30/22557390/google-apk-app-bundles-package-format-play-store . live .
- Web site: New Android App Bundle and target API level requirements in 2021 . 2022-11-22 . Android Developers Blog . en.
- Web site: Amadeo . Ron . 2022-11-22 . Android TV will require App Bundles in 2023, should reduce app size by 20% . 2022-11-22 . Ars Technica . en-us.
- Web site: Amadeo . Ron . 2021-07-01 . Google Play dumps APKs for the more Google-controlled "Android App Bundle" . 2021-08-15 . Ars Technica . en-us . 2021-08-12 . https://web.archive.org/web/20210812212257/https://arstechnica.com/gadgets/2021/07/google-play-dumps-apks-for-the-more-google-controlled-android-app-bundle/ . live .
- Web site: Tim Anderson . Android devs prepare to hand over app-signing keys to Google from August . 2021-08-15 . www.theregister.com . en . 2021-07-24 . https://web.archive.org/web/20210724182926/https://www.theregister.com/2021/07/01/android_app_bundle/ . live .
- Web site: Elliott . Dom . 2020-11-23 . A new publishing format for the future of Android . 2021-08-15 . Medium . en . 2021-07-16 . https://web.archive.org/web/20210716040146/https://medium.com/googleplaydev/what-a-new-publishing-format-means-for-the-future-of-android-2e34981793a . live .
- Web site: Amadeo. Ron. 2021-11-15. Android 12: The Ars Technica Review. 2021-11-21. Ars Technica. en-us.