Android is adopting a 16 KB memory page size, bringing performance gains of 5-10% for apps and games. To test compatibility, the feature is available as a developer option on Pixel 8/9 devices and will be supported on other OEM devices soon.
Apps without native code will work seamlessly, but those with native code may require rebuilding. Developers of SDKs and libraries are encouraged to update their components for compatibility.
To prepare apps for 16 KB devices, developers should: upgrade to Android Gradle Plugin 8.5.1 or higher, align native code with NDK version r28 or higher, and update SDKs and libraries.
Testing apps in 16 KB mode using emulators or developer options on Pixel 8/9 devices is crucial to identify compatibility issues.
The transition to 16 KB page size is less complex than the shift from 32-bit to 64-bit architecture.
Early device models supporting 16 KB page sizes are expected within the next two years.
OEMs such as Xiaomi, vivo, and others are expected to provide support for 16 KB devices.
The move to 16 KB page size enhances performance and sets the stage for future Android innovations.
Android will provide ongoing updates and resources to assist developers in this transition.
android-developers.googleblog.com
android-developers.googleblog.com
Create attached notes ...