Skip to content

Verify libmaplibre.so 16 KB page-size alignment (Android 15/16) #229

Description

@adsamcik

Context

Android 15 requires 16 KB memory-page alignment for native libraries on devices with a 16 KB kernel page size (enforced more strictly going forward). The app ships native code transitively via MapLibre (maplibre-android 13.0.2 / maplibre-compose 0.13.0).

The lint baselines only baseline Aligned16KB for the test-only libmockkjvmtiagent.so — there is no entry for libmaplibre.so, which means either it is already aligned or lint hasn't evaluated the production render path.

Task

  • Run lint/APK Analyzer against a release build and confirm libmaplibre.so (and any other shipped .so) is 16 KB-aligned.
  • Cross-check the MapLibre 13.0.2 release notes for explicit 16 KB-page-alignment support; bump if a fixed version is required.

Acceptance

  • Documented confirmation that all shipped native libraries are 16 KB-aligned, or a dependency bump that achieves it.

References

Reference: report section P1 (16 KB pages); https://developer.android.com/about/versions/15/behavior-changes-all

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