# How do I fix the Rive Flutter 16 KB page size error on Android?

> Google Play now requires native libraries to support 16 KB memory pages, and older Rive Flutter builds shipped libraries such as librive_text.so that were not aligned. The fix is to upgrade to rive 0.14.x, which Rive says resolves it. If you must stay on 0.13.x, set rive.ndk.version=28.1.13356709 in android/gradle.properties, as a Rive maintainer suggested.

Updated November 2026. Source: https://www.exodeui.com/questions/rive-flutter-16kb-page-size-error/

## Key takeaways

- Android 15+ devices can use 16 KB memory pages
- Google Play checks that native .so files are 16 KB aligned
- Best fix: upgrade to rive 0.14.x
- Workaround on 0.13.x: rive.ndk.version=28.1.13356709 in gradle.properties
- Verify with the APK Analyzer in Android Studio

## Frequently asked questions

### Is this only a Rive problem?

No. Any Flutter plugin with native libraries can trigger it. Check every package with .so files.

### Will my app crash on 16 KB devices?

Unaligned libraries can fail to load on devices using 16 KB pages, which is why Play enforces it.

### Do I need to change my Rive files?

No. This is about the runtime's native libraries, not your .riv files.

### Where can I read Google's guidance?

The Android developer site has a page on supporting 16 KB page sizes.

## Related

- [Rive APK size in Flutter](https://www.exodeui.com/questions/rive-flutter-apk-size)
- [How to use a Rive state machine in Flutter](https://www.exodeui.com/questions/how-to-use-rive-state-machine-in-flutter)
- [Best Flutter animation packages](https://www.exodeui.com/best-flutter-animation-packages)
- [Lottie alternative for Flutter](https://www.exodeui.com/questions/lottie-alternative-for-flutter)
