Skip to content

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

@Pradhyuman-nosnia

Description

@Pradhyuman-nosnia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions