🚨 URGENT: Pre-compiled `librnskia.so` is NOT 16KB aligned (Android 15 / Play Store Rejections)
Description
With Android 15 officially enforcing 16 KB memory page sizes, react-native-skia is currently causing Google Play Console to flag production apps with fatal rejection warnings.
We conducted a deep-dive static analysis on our .aab bundles using the readelf -l utility. While React Native 0.79 and Expo 53 have responsibly updated their core C++ engines to 16KB (0x4000) alignments, the pre-compiled librnskia.so binary distributed via NPM is still hardcoded and compiled at the legacy 4KB (0x1000) alignment.
Because you distribute these binaries pre-compiled, we cannot recompile your C++ engine on our end. Apps utilizing Skia risk crashing on Android 15 devices running 16KB page sizes. Furthermore, even if we use the official Google workaround (android:extractNativeLibs="true"), the Play Console static analyzer still scans your outdated 4KB files and explicitly threatens to reject our app updates.
React Native Skia Version
v2.0.0-next.4
React Native Version
0.79.6
Using New Architecture
- [x] Enabled
Steps to Reproduce
- Create a React Native / Expo project with
@shopify/react-native-skiainstalled. - Build an Android App Bundle (
.aab) for production release. - Unzip the
.aaband extractlibrnskia.sofrom the native libraries folder. - Run the command:
readelf -l librnskia.so | grep -m 1 "LOAD" - Observe the ELF alignment is
0x1000(4KB) instead of the required0x4000(16KB). - Upload the
.aabto Google Play Console. - Observe the fatal Policy Status error: "App must support 16 KB memory page sizes".
Snack, Code Example, Screenshot, or Link to Repository
The Fix Required:
Please update your Android NDK build scripts immediately to pass the following linker flag to your compiler:
-Wl,-z,max-page-size=16384
Please recompile librnskia.so, repackage your .aar, and release a hotfix to NPM. Entire deployment pipelines are currently blocked by Google Play Console because of this compilation flag oversight.
Unfortunately v2.0.0-next.4 is a version of RN Skia that is more than 2 years old. Upgrading will fix the issue (and newer versions of RN Skia are much more stable and faster).
I'm closing this issue since I don't think there are any actionable items on my side, but let me know if there is something I can help with.
I fix this 16KB Play Store rejection for $99 in 24h. Your libjingle .so is 4KB (0x1000), Play now requires 0x4000 from Nov 1 2025. I rebuild with NDK r28 + AGP 8.5.1 + -z max-page-size=16384. I deliver fixed AAB ready for Play Console. DM: botrescue.online - PayPal upfront, 24h delivery.