DEV Community

Cover image for Google Play's 16 KB Page Size Requirement: How to Fix It in Expo and React Native Apps
Russel Dsouza
Russel Dsouza

Posted on

Google Play's 16 KB Page Size Requirement: How to Fix It in Expo and React Native Apps

Google Play requires new apps and updates that target Android 15 or higher to support 16 KB memory page sizes. The problem is almost never your JavaScript. It's the native .so libraries inside your app bundle, which must be built and aligned for 16 KB pages. In Expo and React Native, the fix is usually to upgrade to an SDK and React Native version with 16 KB support, update every library that ships native code, rebuild, and verify the bundle in Play Console or with Android's alignment tools.

You upload a new Android build and Play Console warns that your app doesn't support 16 KB memory page sizes, or blocks the release entirely. Your app works fine on your phone. So what changed?

From LetsDeployIt, where we fix store submission problems for Expo and AI-built apps.

What is the 16 KB page size requirement?

Android devices have traditionally used 4 KB memory pages. Newer devices can use 16 KB pages, which improves performance (faster app launches and lower power use, according to Google). Apps with native code must be built so their native libraries load correctly on these devices.

Google Play made this a requirement: since November 1, 2025, new apps and updates targeting Android 15+ must support 16 KB page sizes. Google offered extensions for some apps, so check Play Console for your app's exact status.

Why is my React Native or Expo app affected?

Because React Native apps always include native libraries: the JavaScript engine (Hermes), React Native itself, and any package with native code (camera, maps, image processing, video, ML, payments and so on). Each of these ships compiled .so files.

A library compiled or packaged the old way may only work with 4 KB pages. One such library anywhere in your dependency tree is enough to fail the check.

Pure JavaScript code isn't affected at all.

How do I check if my app supports 16 KB pages?

In Play Console

Upload your app bundle and open App bundle explorer for that version. Play Console reports whether the bundle supports 16 KB memory page sizes, and points out the libraries that don't.

With Android Studio

Open your built APK in Build → Analyze APK. The APK Analyzer flags native libraries that aren't aligned for 16 KB in the lib folder.

From the command line

zipalign can check alignment of an APK built from your bundle:

zipalign -c -P 16 -v 4 app-release.apk
Enter fullscreen mode Exit fullscreen mode

Android's documentation also provides a script to check the ELF alignment of each .so file. Libraries that report 4 KB (2*12) alignment instead of 16 KB (2*14) are the ones to fix.

How do I fix it in an Expo or React Native app?

1. Upgrade Expo and React Native

Recent React Native versions and Expo SDKs ship with 16 KB support for their own native code. If you're on an older version, upgrading is usually the biggest single fix. Check the release notes for your target version, then upgrade one SDK at a time:

npx expo install expo@^NEXT.0.0   # replace NEXT with the target SDK number
npx expo install --fix
npx expo-doctor
Enter fullscreen mode Exit fullscreen mode

2. Update every library with native code

Run your check again after upgrading, then look at which .so files still fail. Each one belongs to a package. For each:

  • Update to the latest version; most maintained libraries released 16 KB-compatible builds.
  • Check the library's issues and changelog for "16 KB page size".
  • If a library is abandoned and still fails, replace it.

In Expo projects, npx expo install --check helps align Expo-managed packages with your SDK; for third-party native packages, check each one's release notes.

3. Make sure your build tools are current

16 KB support also depends on the Android build toolchain:

  • Android Gradle Plugin 8.5.1 or newer aligns uncompressed native libraries for 16 KB pages when packaging.
  • NDK r28 or newer compiles native code 16 KB-aligned by default. Older NDKs need extra linker flags.

Recent Expo SDK and React Native versions set these for you. If you maintain custom native code or a local native module, check your own NDK and linker settings.

4. Rebuild and verify

eas build --platform android --profile production
Enter fullscreen mode Exit fullscreen mode

Then upload the new bundle and confirm in App bundle explorer that it now supports 16 KB pages. Don't assume; verify every release, because a single new dependency can reintroduce the problem.

How do I test my app on a 16 KB device?

Android Studio offers 16 KB page size system images for the emulator in recent Android versions. Create an emulator with one of them, install your release build and test the main flows, especially anything that uses native libraries (camera, video, maps, ML). Some 16 KB problems only show up as crashes at runtime, not as warnings in tools.

Some recent physical devices also offer a developer option to boot with 16 KB pages; check Google's documentation for supported devices.

Common mistakes

  • Updating React Native but not the libraries. The app still fails because one old native package is left.
  • Checking a debug build. Verify the release bundle you actually upload.
  • Ignoring Play Console's warning until the deadline. Upgrades take time; start before your next important release.
  • Assuming JavaScript-only changes are affected. They aren't. Only native code needs attention, though an over-the-air update can't fix a native problem, so you'll need a new store build.
  • Not testing on a 16 KB emulator, where alignment problems can appear as crashes.

Checklist

  1. Check the bundle in Play Console's App bundle explorer.
  2. Upgrade to an Expo SDK and React Native version with 16 KB support.
  3. Update or replace every library whose .so files fail the check.
  4. Confirm your Android Gradle Plugin and NDK versions are recent.
  5. Rebuild, upload and verify in Play Console again.
  6. Test the release build on a 16 KB emulator.

Conclusion

The 16 KB page size requirement is a native build issue, not a code issue. For Expo and React Native apps, it usually comes down to running a recent SDK, updating every package with native code and verifying the bundle before each release. Do it once properly, keep dependencies current, and it stops being a launch blocker.

If you'd rather hand store issues off, LetsDeployIt takes Expo and AI-built apps through Google Play and the App Store until they're approved.

Which library was the last one blocking your 16 KB check? Share it in the comments so others can update it too.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The distinction that makes this land is that it is a native build issue, not a code issue — one old .so anywhere in the bundle blocks the release, while the JavaScript is untouched. The check I would steal is zipalign -c -P 16 on the release APK, not a debug build, because that is the artifact Play actually judges. For a native Kotlin app the same trap is a single abandoned dependency, so your "update or replace" step is the honest one. Did the 16 KB emulator ever catch a crash for you that a normal device missed, or has the Play Console bundle explorer been enough to catch the straggler before upload?