IssueRaiser

libpdfiumandroid.so not 16 KB aligned – Google Play 16 KB page-size requirement

Google Play now requires all native libraries to support 16 KB memory page-size alignment (mandatory for updates from Nov 1, 2025). When analyzing my APK built with `react-native-pdf`, I found that: - base/lib/arm64-v8a/libpdfiumandroid.so - base/lib/x86_64/libpdfiumandroid.so are still built with 4 KB alignment instead of 16 KB. This causes Google Play Console warnings and will block publishing on newer devices. **Steps to reproduce:** 1. Build app with `react-native-pdf` 2. Analyze APK/AAB → check `libpdfiumandroid.so` 3. Shows `Align 0x1000 (4096)` instead of required `Align 0x4000 (16384)` **Expected behavior:** `libpdfiumandroid.so` should be rebuilt with **NDK r28+** to support 16 KB alignment. Please update the bundled binaries so apps using this library can pass Google Play compliance.

Posted by Pradhyuman-nosnia on Aug 28, 2025, 5:01 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

support (SaaS)

libpdfiumandroid.so not 16 KB aligned – Google Play 16 KB page-size requirement

Pradhyuman-nosniaAug 28, 2025, 5:01 AM

Google Play now requires all native libraries to support 16 KB memory page-size alignment (mandatory for updates from Nov 1, 2025). When analyzing my APK built with `react-native-pdf`, I found that: - base/lib/arm64-v8a/libpdfiumandroid.so - base/lib/x86_64/libpdfiumandroid.so are still built with 4 KB alignment instead of 16 KB. This causes Google Play Console warnings and will block publishing on newer devices. **Steps to reproduce:** 1. Build app with `react-native-pdf` 2. Analyze APK/AAB → check `libpdfiumandroid.so` 3. Shows `Align 0x1000 (4096)` instead of required `Align 0x4000 (16384)` **Expected behavior:** `libpdfiumandroid.so` should be rebuilt with **NDK r28+** to support 16 KB alignment. Please update the bundled binaries so apps using this library can pass Google Play compliance.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue