Add support of 16 KB page sizes
- Dominant language
- Kotlin
- Stars
- 7.8k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes. Source: https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html
To my understanding, Litho library can add support of 16KB by using one of two approaches:
1. Update NDK version to r28 or higher. This way, Litho library will be 16 KB-aligned by default
2. Or by updating CMakeLists.txt to have this line: `target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384")`
Link to Android documentation: https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment
Contributor guide
Assessment
This issue has not been assessed yet.