Fixed Android 16KB page size requirement without upgrading AGP / React Native
07:20 10 May 2026

Been dealing with the new Play Console warning:

"Your app does not support 16 KB memory page sizes."

On paper the fix sounds simple: upgrade to AGP 8.5+.

In reality for older React Native apps it becomes:

  • Gradle upgrades

  • dependency upgrades

  • possible RN upgrades

  • praying nothing breaks in production

Didn’t really want to destabilize stable apps just to satisfy one Play Console requirement, so I ended up experimenting with patching the generated artifacts instead.

Basically wrote some scripts that:

  • patch .so alignment from 4KB → 16KB

  • patch the generated AAB config before upload

Surprisingly worked across a few production apps and passed Play review.

Curious how others are handling this issue without doing a full stack upgrade.

I wrote up the findings + open sourced the scripts here:

Blog:
Android 16KB Page Size Fix writeup

GitHub:
https://github.com/syafiyft/android-16kb-fix

android react-native gradle google-play