Skip to content

[馃悰] [Android] Support 16kb page size for Android 15+ devices#7954

Description

@k-saparia

Description

I am encountering issues when running my app on Android 15 devices with a 16 KB page size, particularly with some native components. Are there any plans to recompile the library to address these issues and ensure compatibility with phones that have a 16 KB page size?

As stated on Android doc,

Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (16 KB devices). If your app uses any NDK libraries, either directly or indirectly through an SDK, then you will need to rebuild your app for it to work on these 16 KB devices.

An analysis of my app using the APK Analyzer as described by Android shows that it does use libcrashlytics-common.so as native code.
image
This is the native binary reported by the APK analysis:

libcrashlytics-common.so

Describe the solution you'd like

I would like for libcrashlytics-common to support 16kb page size phones so that apps supporting sdk 35 do not crash

Additional context

Android doc: https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment
react-native thread: react/react-native#45054

What Platforms whould this feature/enhancement affect?

Android

Alternatives/Workarounds

No workaround I have investigated so far.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions