-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update android export page for AAB requirement #9637
Conversation
By default, the AAB or APK will contain native libraries for both ARMv7 and ARMv8 | ||
architectures. This increases its size significantly. To create a smaller file, | ||
uncheck either **Armeabi-v 7a** or **Arm 64 -v 8a** in your project's Android | ||
export preset. This will create an APK that only contains a library for | ||
export preset. This will create an file that only contains a library for | ||
a single architecture. Note that applications targeting ARMv7 can also run on | ||
ARMv8 devices, but the opposite is not true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With AAB, the practice of including fewer architectures to reduce download size is obsolete. Google automatically splits up the AAB on their backend so the user only downloads the architecture they need.
Also, 64-bit ARM Android devices may no longer be able to run 32-bit ARM code at some point in the future (in fact, I've heard this was the case for Android 14 or later, or Android 15 or later).
I've updated that section to state that you don't need to make multiple AABs, and added an explanation at the end of the paragraph. |
Thanks! |
* Update android export page for AAB requirement --------- Co-authored-by: Max Hilbrunner <[email protected]>
Cherrypicked to 4.3 in #10347. |
Does what the title says. Since august of 2021 all new apps uploaded to Google Play must be in AAB format, that requirement is noted on the top of this page in the Android documentation.
I've added a sentence on that requirement and re-worded a few things. I've also removed the section on multiple APK signing, that's obsolete with the AAB format. And I figure anyone still uploading APKs because their app was grandfathered in should know how to do that already if they don't want to switch to AABs for some reason.
Closes #9134.