Skip to content

Android 15 (API 35) – Native .so libraries are not 16KB page-size aligned #48

@Funcksy

Description

@Funcksy

Hello,

First of all, thank you for this project.

I am currently working on a Unity project that targets both Android and iOS.
While building the Android version (targetSdkVersion 35 / Android 15),
Google Play Console reports the following error:

"The native library 'libAirarColorMap.so' is not 16KB-aligned.
This may cause issues on ARM64 devices running Android 15+."

As you know, starting from Android 15, all native libraries (.so) must be
built with 16KB page size alignment. Because of this, the current prebuilt
libraries included in this repository are blocking our Play Store submission.

My questions:

  1. Is it possible to provide updated Android native libraries
    (libAirarColorMap.so, and related dependencies) compiled with
    16KB page-size alignment?
  2. Alternatively, is there a way to build these libraries from source
    (CMake / NDK configuration) so we can compile them ourselves with
    the required linker flags?

For reference, Android documentation:
https://developer.android.com/guide/practices/page-sizes

Any guidance or updated version would be greatly appreciated.
Thank you for your time and support.

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