Android App Bundle
| Android App Bundle | |
|---|---|
| Filename extension | .aab |
| Type of format | Package format |
| Container for | Android |
| Open format? | yes |
| Website | developer |
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
[edit ]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.[6]
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
[edit ]References
[edit ]- ^ "About Android App Bundles". Android Developers. Archived from the original on 2021年08月09日. Retrieved 2021年08月15日.
- ^ "bundletool". Android Developers. Archived from the original on 2023年03月15日. Retrieved 2021年10月19日.
- ^ Peters, Jay (2021年06月30日). "Google is moving away from APKs on the Play Store". The Verge. Archived from the original on 2021年08月04日. Retrieved 2021年08月15日.
- ^ "New Android App Bundle and target API level requirements in 2021". Android Developers Blog. Archived from the original on 2023年03月14日. Retrieved 2022年11月22日.
- ^ Amadeo, Ron (2022年11月22日). "Android TV will require App Bundles in 2023, should reduce app size by 20%". Ars Technica. Archived from the original on 2022年12月09日. Retrieved 2022年11月22日.
- ^ a b Amadeo, Ron (2021年07月01日). "Google Play dumps APKs for the more Google-controlled "Android App Bundle"". Ars Technica. Archived from the original on 2021年08月12日. Retrieved 2021年08月15日.
- ^ Tim Anderson. "Android devs prepare to hand over app-signing keys to Google from August". www.theregister.com. Archived from the original on 2021年07月24日. Retrieved 2021年08月15日.
- ^ Elliott, Dom (2020年11月23日). "A new publishing format for the future of Android". Medium. Archived from the original on 2021年07月16日. Retrieved 2021年08月15日.
- ^ Amadeo, Ron (2021年11月15日). "Android 12: The Ars Technica Review". Ars Technica. Archived from the original on 2021年11月21日. Retrieved 2021年11月21日.