Google being Goolag - Android App Bundles
Stub - expect rewrites, additions, & stuff
Last updated : 9/6/2021
What is Android App Bundles?
Android App Bundles (AAB) is a publishing format that includes an app's compiled code & resources, & defers APK generation & signing to Google, which then uses the bundle to generate & serve optimized APKs for each device configuration, so only the code & resources required for a specific device are downloaded to run the app.
Benefits of AAB
While Android App Bundles can be a problem (discussed further), there's actual benefits to this "feature".
- Less download size for an app, allowing you to save time & storage space
Inherent issues with AAB
- Split APKs cannot be installed regularly, instead requiring an app (such as SAI) to install it.
- Most Android devices use arm (or arm64 to be more exact) architecture, making the split impractical. While there are Android-running devices with x86_64, they're mostly Chromebooks with Intel chips.
- Since APK generation & signature controls are left to Google, they can essentially make the app backdoored for specific users. This also breaks Android's security model, since a 3rd-party distributor (Google) signs the app.
A fix / workaround to AAB
Back to top
- For app developers : simply provide one universal APK (or APK + OBB (XAPK in APKPure for example) if >= 150MB). Sure, it will make the download size outright bigger, but at least the app will work regardless of what device you're running.
- Again, SAI fixes this issue. However, it's just a band-aid to fix a problem made by Goolag.
- And, as an Android user, I sincerely hope Android 12 doesn't remove OBB compatibility (although this is going to be a fleeting one since Goolag has full control over Android development).