Skip to content

Upgrade to NDK r28 for Android 16 KB page size compatibility #506

@david-metrica

Description

@david-metrica

Starting Nov 1, 2025, new apps and updates targeting Android 15+ must support 16 KB pages. By May 1, 2026, updates to existing apps that don’t support this will be blocked on the Play Store.

Currently, crates depending on ndk / ndk-sys are tied to older NDK versions that assume 4 KB page sizes. For example, I noticed this when building web-audio-api-rs, which indirectly pulls in ndk through cpal.

To ensure future compatibility, it would be good to update ndk / ndk-sys to build against NDK r28 or higher, which supports 16 KB page sizes.

You can also refer to the related issue I opened in cpal, in case there is an easier solution at that layer:
RustAudio/cpal#1018

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