Skip to content

Upgrade NDK to 28 to avoid memory pagination issues #553

@david-metrica

Description

@david-metrica

Starting with Android 15 (API 35), devices can use 16KB memory page sizes instead of the traditional 4KB.

From Nov 1, 2025, any new apps or updates targeting Android 15+ will need to support 16KB pages.

By May 1, 2026, updates to existing apps that don’t support this will be blocked from publishing.

The web-audio-api-rs crate currently uses an older version of the NDK, which defaults to 4 KB page sizes.

With Android's transition to 16 KB page sizes, applications using this crate may encounter compatibility issues on newer devices

Updating the crate to support NDK r28 or higher will ensure proper alignment with 16 KB page sizes, preventing potential crashes and performance degradation.

I’m not sure whether we need to wait for dependent libraries, such as ndk-sys, to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions