Native libraries’ RELRO segments are safe on 16 KB pages: how to pass Google Play Check the RELRO security flag
What Google Play checks
On a device with 16 KB memory pages, Android makes the whole 16 KB page that holds the end of a library’s GNU_RELRO segment read-only. If writable data (.data or .bss) shares that page, your app crashes with a segmentation fault (SIGSEGV) when it writes to it. Google says this typically happens with .so files built with NDK r27 or lower.
How Shipnod finds it
We read the program headers of the native libraries (.so files) inside your APK or AAB and check, as Google’s 16 KB guide describes, that each GNU_RELRO segment ends on a 16 KB boundary or that no writable data follows it in its LOAD segment.
This check needs your built app (L3).
How to fix it
Rebuild the library with NDK r28 or later. With NDK r27 or lower, follow “Android NDK r27 and lower” in Google’s 16 KB page sizes guide. Rebuild prebuilt libraries the same way, and update SDKs that ship native code. Check each .so with llvm-readelf -Wl or the APK Analyzer: the GNU_RELRO end (VirtAddr + MemSiz) is a multiple of 0x4000, or no writable data follows it in its LOAD segment (the LOAD ends where the GNU_RELRO ends, or before it with the next LOAD on a later 16 KB page).
Related rules
- Native libraries support 16 KB memory pages
- Play Billing Library 8 or later
- Play Billing Library 8 or later in your dependencies
- Code downloaded outside Google Play needs a check
Check your app for this and 75 other rules
Every feature is free during early access: the button creates your free account. Results are guidance; Apple and Google make the final review decision.
- Store
- Google Play
- Policy
- Check the RELRO security flag
- Evidence needed
- L3 your built app
- Severity
- Warning
- Catalog version
- v2026.12.1