Play Console shows a warning that your app does not support 16 KB memory page sizes. It sounds like a deep kernel problem, but it almost always comes down to one thing: a native .so library inside your bundle was built for 4 KB pages. Pure Kotlin or Java apps already comply. Apps with any native code, including native code hidden inside an SDK, need a rebuild with current tools.
The date that matters is February 1, 2027. From then, Google says updates to apps that target Android 15 or higher and do not support 16 KB pages cannot be released. This guide covers how to read the warning, how to find the library at fault, how to fix it for your build setup, and how to prove the fix worked before you upload.
What does the Google Play 16 KB page size error mean?
The Google Play 16 KB page size error means at least one native library in your app is aligned for 4 KB memory pages. Newer Android devices can run with 16 KB pages, and a library built for 4 KB pages may fail to load or run in a slower compatibility mode. Play Console flags it so you can rebuild before the deadline.
A memory page is the unit the operating system uses to hand out and protect memory. For most of Android's history that unit was 4 KB. Android 15 added support for devices that use 16 KB pages, and Google's page size guide says all apps targeting Android 15 (API level 35) or higher must support 16 KB pages on 64-bit devices.
Kotlin and Java code never sees the page size, so it is fine. Native code is different. Each .so file has LOAD segments that tell the system how to map it into memory, and those segments carry an alignment value. A library linked for 4 KB pages has segments that do not line up on 16 KB boundaries, and that is what Play Console detects.
Is my app affected by the 16 KB requirement?
Your app is affected by the 16 KB requirement if it targets Android 15 or higher and ships any native code: your own C or C++, NDK libraries, or a third-party SDK that bundles .so files. Apps written only in Kotlin or Java, with libraries that are also free of native code, already support 16 KB pages.
The catch is that many indie developers have native code without knowing it. Common sources include:
- Cross-platform runtimes. Flutter, React Native and Unity all ship native engines inside your bundle.
- Databases and storage. SQLCipher and other embedded database engines often include
.sofiles. - Media and graphics. Image codecs, video players, animation runtimes and camera libraries.
- Ads, analytics and crash SDKs. Some include native crash handlers or helper libraries.
- Security and anti-tamper SDKs. These are almost always native.
The target API level part matters too. Google requires new apps and updates to target a recent API level, and I cover that deadline in the Android 16 target API level guide. Once you raise your target to 35 or higher, the 16 KB rule applies, so plan both changes together.
When is the 16 KB page size deadline?
The 16 KB page size deadline on Google Play is February 1, 2027. After that date, Google's developer guide says updates that do not support 16 KB pages cannot be released for apps targeting Android 15 or higher. The rule covers app updates as well as new apps.
You may see older dates online. Google's May 2025 announcement named November 1, 2025. The current Android developer page is the newer source and gives February 1, 2027, and Play Console's own warning shows the date that applies to your app. When the two disagree, trust Play Console.
Do not wait for the last week. A native dependency that needs a new version from its vendor can take time to update, and you do not want to find that out while a crash fix is waiting to ship.
How do I check if my app supports 16 KB page sizes?
To check if your app supports 16 KB page sizes, open your release bundle in Play Console's App bundle explorer and read the memory page size field, or open the APK in Android Studio's APK Analyzer and look at the Alignment column for each .so file in the lib folder. Both tools point to the libraries that fail.
Here are the checks, from quickest to most detailed:
| Tool | Where | What a pass looks like |
|---|---|---|
| App bundle explorer | Play Console, on an uploaded bundle | The memory page size field says it supports 16 KB |
| APK Analyzer | Android Studio, Build, then Analyze APK | No alignment warning on any .so in lib/ |
| Lint and build warnings | Android Studio build output | No warning about unaligned native libraries |
zipalign | Build tools 35.0.0 or newer | "Verification successful" |
llvm-objdump | NDK toolchain | LOAD segments show align 2**14 |
To check ZIP alignment from the command line, run this against an APK:
zipalign -c -P 16 -v 4 app-release.apk
To check the ELF alignment of one library, unzip the APK and inspect the file:
llvm-objdump -p lib/arm64-v8a/libexample.so | grep LOAD
Google's guide says a 16 KB library shows align 2**14 on each LOAD line. A value of 2**13 or lower means the library is still built for smaller pages. Google also provides a check_elf_alignment.sh script for Linux and macOS that prints ALIGNED or UNALIGNED for every 64-bit ARM library in an APK.
If you only have an .aab file, bundletool dump config reports the bundle's page alignment setting. Even so, the App bundle explorer is the result Play itself uses, so treat it as the final word.
How do I fix the 16 KB page size error?
To fix the 16 KB page size error, upgrade to Android Gradle Plugin 8.5.1 or higher and NDK r28 or higher, then update every SDK that ships native code to a 16 KB compatible version. Google's page size guide says this combination makes an app 16 KB compatible by default. Rebuild the release and check it again.
Work through these in order:
- Find the failing libraries. Use APK Analyzer or the App bundle explorer to get the exact
.sonames. The file name usually tells you which SDK owns it. - Upgrade the Android Gradle Plugin. AGP 8.5.1 and later package uncompressed native libraries with 16 KB ZIP alignment. If you are stuck on an older AGP, Google's guide describes setting
useLegacyPackaging = trueunderpackaging.jniLibsas a workaround, which stores the libraries compressed instead. On AGP 8.0 or lower, also setandroid.bundle.enableUncompressedNativeLibs=falseingradle.properties. - Upgrade the NDK, if you compile native code. NDK r28 and later build 16 KB aligned libraries by default, per Google. On r27 or older, add these linker flags to your CMake or ndk-build config:
Google's guide also checks RELRO alignment. Libraries built with NDK r27 or lower without these flags can crash on 16 KB devices even when the LOAD segments look aligned, and APK Analyzer shows RELRO status in its own column.-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384 - Update or replace third-party SDKs. You cannot rebuild a prebuilt
.soyou do not own. Check each vendor's release notes for 16 KB support and move to that version. If a vendor has no compatible build, that SDK needs replacing before February 2027. - Fix hard-coded page sizes in your own C or C++. Code that assumes 4096 bytes will break on 16 KB devices. Google recommends
getpagesize()orsysconf(_SC_PAGESIZE)instead, and notes that thePAGE_SIZEmacro is not defined in 16 KB mode on NDK r27 and later.
A common trap: the fix looks done, but one old prebuilt library is still in the bundle. A shared libc++_shared.so copied from an old SDK is a frequent case. Rerun the check after every change and fix the list until it is empty.
How do I fix it in Flutter, React Native or Unity?
To fix the 16 KB error in Flutter, React Native or Unity, upgrade the framework to a current release, then update every plugin or package that includes native code. Google's announcement lists all three as already supporting 16 KB pages, so the engine itself is rarely the problem after an upgrade. Plugins are the usual cause.
A few specifics for each:
- Flutter. Upgrade Flutter and the Android Gradle Plugin in
android/settings.gradle, then runflutter build appbundleagain. If the warning remains, the failing.soname usually maps to a plugin, such as an animation, database or ML package. - React Native. Move to a current React Native version and update native modules. Libraries that bundle their own
.sofiles, like media and crypto modules, need their own updates. - Unity. Upgrade the editor to a patch release that states 16 KB support, then check native plugins from the Asset Store. Google's Unity guide covers the engine side. Third-party native plugins still need their own 16 KB builds.
Expo and other build services follow the same rule. The runtime version you build with decides the native libraries in your bundle, so moving to a current SDK release is usually the whole fix.
The 16 KB warning is almost never about your own code. Find the .so file it names, find who ships it, and update that one thing.
How do I test my app on a 16 KB device?
To test your app on a 16 KB device, use the Android Studio emulator with a 16 KB page size system image, or turn on the "Boot with 16KB page size" developer option on a supported Pixel phone. Then run adb shell getconf PAGE_SIZE. A 16 KB environment returns 16384, and your app should launch and run normally.
Your options, per Google's testing section:
- Emulator. In the SDK Manager, install the "Google APIs Experimental 16 KB Page Size" system image for ARM 64 or x86_64. It may sit under the Other Images tab.
- Pixel developer option. Available on Pixel 8 and 8 Pro and 8a with Android 15 QPR1 or later, the Pixel 9, 9 Pro and 9 Pro XL with Android 15 QPR2 or later, and the Pixel 9a with Android 16 or later.
- Remote devices. Samsung Remote Test Lab and Cuttlefish virtual devices also offer 16 KB environments.
Pay attention to a quiet failure mode. On 16 KB devices, Android may run an app with 4 KB aligned libraries in a backcompat mode and show a warning. The app works, so you might think the problem is solved. It is not: Play still checks the bundle, and backcompat mode is a stopgap, not compliance. Setting android:pageSizeCompat in the manifest only hides the warning; it does not make the bundle pass Play's check. Test for crashes on startup and in every feature that loads native code, then watch your crash rate after release, as covered in the Android vitals thresholds guide.
Why does Google require 16 KB page sizes?
Google requires 16 KB support because more devices are moving to 16 KB pages, which run faster, and apps with 4 KB aligned libraries will not work on them in future Android releases. In Google's own tests, apps launched 3.16% faster on average under memory pressure, up to 30% for some apps. Power use during launch dropped 4.56%, and the system booted about 8% faster. Apps must load on those devices to get the gain.
The full figures from Google's page size guide:
| Measure | Average gain on 16 KB devices |
|---|---|
| App launch under memory pressure | 3.16% faster, up to 30% for some apps |
| Power draw during app launch | 4.56% lower |
| Camera hot start | 4.48% faster |
| Camera cold start | 6.60% faster |
| System boot | About 8% faster (roughly 950 ms) |
The trade-off, per the same page, is slightly higher memory use. For you as a developer the point is simple: this is a lasting platform change, not a policy that might be rolled back, so the fix is worth doing properly once.
What should I check before uploading the fixed build?
Before uploading the fixed build, confirm three things: APK Analyzer shows no alignment warnings, the app runs on a 16 KB emulator or device, and the version code is higher than your last release. Then upload to an internal or closed test track first and read the App bundle explorer result before you promote it.
A short pre-upload list:
- Every
.soinlib/arm64-v8aandlib/x86_64passes the alignment check. adb shell getconf PAGE_SIZEreturns 16384 on your test device, and the app launches there without a backcompat warning.- The release build is signed with your upload key and has a new version code. If Play rejects it for a reused number, see the version code already used fix.
- The build that passes locally is the one you upload. Shrinking and build variants can change what ends up in the bundle, a problem covered in why a release build works locally but fails on Google Play.
- The rest of the Play Console checks still pass. My Play Console checks before publishing list covers target API, signing and bundle format.
If you are rolling out to production, use a staged rollout so a crash in a native code path shows up on a small slice of users first. The staged rollout percentages guide has the numbers I use.
Where IOn Emit fits
The 16 KB fix happens in your build: Gradle, the NDK and your SDK versions. What comes after is where IOn Emit helps. It is a Windows desktop app for publishing to Google Play. Once the rebuilt bundle passes, it handles the release: an 8-step pre-flight wizard, all four release tracks with staged rollout control, and one-click publishing. Your first app is free, with unlimited updates.
This post is part of our app publishing guides for indie Android developers.