mojira.dev
MCPE-242893

Android 16 KB page size compatibility - Native libraries fail RELRO alignment check

Short description of the issue:

When launching the app on an Android system configured with 16 KB page sizes, an "Android App Compatibility" dialog appears indicating that native ARM64 libraries fail the RELRO alignment check and must run in page size compatible mode.

Steps to reproduce:

1. Install Minecraft Trial on an ARM64 Android environment configured with 16 KB page size (e.g., Android 17 emulator image).

2. Launch the application.

Expected result:

The application native libraries (libminecraftpe.so, libfmod.so, etc.) should be compiled with 16 KB ELF alignment so the app runs natively without requiring compatibility mode or showing compatibility warnings.

Actual result:

An "Android App Compatibility" system dialog appears stating: "This app isn't 16 KB compatible. RELRO alignment check failed. This app will be run using page size compatible mode."

The dialog lists the following unaligned libraries:

- lib/arm64-v8a/libconscrypt_jni.so (RELRO segment not aligned)

- lib/arm64-v8a/libPlayFabMultiplayer.so (Unknown error)

- lib/arm64-v8a/libc++_shared.so (Unknown error)

- lib/arm64-v8a/libmaesdk.so (Unknown error)

- lib/arm64-v8a/libMediaDecoders_Android.so (Unknown error)

- lib/arm64-v8a/libfmod.so (Unknown error)

- lib/arm64-v8a/libminecraftpe.so (Unknown error)

- lib/arm64-v8a/libHttpClient.Andro

id.so (Unknown error)

Attachments

Comments 1

Nitin

(Unassigned)

Unconfirmed

Android

Android 17

26.51 Hotfix

Retrieved