Fix 'This App Does Not Support 16 KB Memory Page Sizes' in Google Play Console
This app does not support 16 KB memory page sizes- Identify the exact offending .so libraries in App Bundle Explorer: Open Play Console -> Test and release -> App bundle explorer -> select your uploaded versionCode -> expand the 'Memory page size' details list to see every non-compliant .so path.
- Upgrade Android Gradle Plugin to 8.5.1+ (ideally 8.7/8.8+) and NDK to r28+: NDK r28 defaults to 16 KB ELF max-page-size alignment out of the box for arm64-v8a and x86_64, while AGP 8.5.1+ configures bundletool and zipalign (-P 16) automatically.
- Upgrade cross-platform engine and native plugin versions: Update to Flutter 3.27+, React Native 0.77+ / Expo SDK 52+, Unity 6000.0.38f1+ (or 2022.3.56f1+), Godot 4.3/4.4+, or .NET 9 MAUI, and bump native AAR dependencies (CameraX 1.4+, ML Kit, SQLCipher 4.6+).
- Add linker flags if stuck on NDK r27 for custom CMake / Rust targets: In CMakeLists.txt set ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON (or target_link_options(-Wl,-z,max-page-size=16384)), and in Rust Cargo .cargo/config.toml pass -C link-arg=-Wl,-z,max-page-size=16384.
- Verify every arm64-v8a .so locally with llvm-objdump before re-uploading: Unzip your compiled .aab and inspect base/lib/arm64-v8a/*.so with llvm-objdump -p, confirming every LOAD segment ends with align 2**14 (or 2**16) and zero 2**12 entries remain.
Why Google Play Enforces 16 KB Memory Page Sizes on Android 15 & 16
Historically, Android ARM64 kernels operated exclusively with 4 KB (`4096`-byte) virtual memory pages. Beginning with Android 15 (API level 35) and expanding across flagship Android 16 (API level 36) silicon, OEMs ship devices configured with **16 KB (`16384`-byte) kernel memory pages** — cutting Translation Lookaside Buffer (TLB) misses, accelerating app cold starts, improving camera launch latency, and lowering power draw by 4%–8%. However, the Linux kernel's `dlopen()` loader on a 16 KB kernel physically cannot map an ELF shared library (`.so`) whose `PT_LOAD` segments were linked on 4 KB (`2**12`) boundaries or stored uncompressed inside an APK at a non-16-KB zip offset.
To prevent millions of apps from crashing immediately with `dlopen failed: empty/missing DT_HASH` or segment alignment errors on new flagship phones, Google Play Console's App Bundle Explorer scans every `arm64-v8a` and `x86_64` `.so` inside uploaded `.aab` bundles and enforces 16 KB page support alongside Target SDK 35+ publishing deadlines.
Note that both layers of alignment must pass simultaneously: (1) ELF `PT_LOAD` segment alignment inside each `.so` binary (`p_align >= 0x4000`) controlled by the C/C++/Rust linker (`lld` in NDK r28+), and (2) uncompressed ZIP entry alignment on 16 KB boundaries inside split APKs controlled by Android Gradle Plugin `8.5.1+` and `bundletool`.
Pinpointing Transitive Third-Party AAR Culprits Quickly
Developers writing 100% pure Kotlin, Dart, or TypeScript are often baffled when Play Console flags `This app does not support 16 KB memory page sizes`. Remember that pure JVM/DEX bytecode and JavaScript bundles contain zero ELF `.so` files — if your app has **no** `lib/` directory inside `app-release.aab`, it is automatically 16 KB compatible! The error appears only because at least one native engine runtime or third-party Gradle/CocoaPods/Pub/NPM plugin injected a compiled `.so` library.
Run `./gradlew :app:dependencies --configuration releaseRuntimeClasspath` alongside the `unzip` + `llvm-objdump -p` script above (or inspect your `.aab` client-side in `/tools/android-15-16kb-bundle-auditor`). Common offenders include outdated PDF viewers (`android-pdf-viewer`), legacy barcode scanners (`zbar` / older `mlkit-barcode-scanning`), unmaintained FFmpeg wrappers (`ffmpeg-kit`), older `sqlite3` / `isar` native binaries, and pre-2025 game audio plugins. Replacing abandoned native wrappers with Jetpack/AndroidX equivalents or rebuilding from source under **NDK r28** resolves the block cleanly.
If an upstream open-source AAR is abandoned and you only need other libraries from the tree, you can exclude a non-essential `.so` via `android.packaging.jniLibs.excludes += "**/libunused.so"`, or fork and recompile its JNI CMake project with `ndkVersion = "28.0.13004108"`.
Validating 16 KB Builds Before Starting Your 14-Day Closed Test
Clearing 16 KB alignment warnings *before* rolling out `versionCode 1` to your Closed Testing track ensures modern Pixel 9/10 and Android 15/16 flagship testers can install your app without OS compatibility blocks, and prevents an emergency engine upgrade mid-way through your 14-day testing window.
During GOOtester Standard ($12, 15 human testers / 16 days) and Premium ($20, 25 human testers / 24 days) campaigns, separate automated physical-device ARM64 ADB QA runs verify clean native library loading, RAM PSS (`dumpsys meminfo`), and frame rendering on real hardware while keeping automated ADB runs strictly separated from your consented human testers.
Booting your release split APKs once inside Android Studio's **Android 15/16 16 KB Page Size Emulator** (`adb shell getconf PAGESIZE` -> `16384`) before uploading to Play Console catches runtime `PAGE_SIZE` assumptions in custom C++ allocators in under five minutes.