Skip to content

Add support of 16 KB page sizes #1072

@sailor-meow

Description

@sailor-meow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions