Skip to content

16 KB page size support for Mapbox libraries #2655

@jeluchu

Description

@jeluchu

Android Studio has started to warn (this must be after updating gradle or the LEVEL API, because I didn't get it before), but they have started to throw a notification when you install/compile the Android app that says the following:

Image
APK app-preproduction-debug.apk is not compatible with 16 KB devices. Some libraries have LOAD segments not aligned at 16 KB boundaries:
lib/arm64-v8a/libc++_shared.so
lib/arm64-v8a/libmapbox-common.so
lib/arm64-v8a/libmapbox-maps.so
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. For more information about compatibility with 16 KB devices, visit developer.android.com/16kb-page-size.

Here's the link to the official Android documentation page
https://developer.android.com/guide/practices/page-sizes?hl=es-419

This is something that affects both new applications and all those that require updates, and in this case I get the notification that my application contains elements that should be migrated/updated:

  • lib/arm64-v8a/libc++_shared.so
  • lib/arm64-v8a/libmapbox-common.so
  • lib/arm64-v8a/libmapbox-maps.so

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