pdfiumandroid 16 KB page-size fix: upgrade to 1.0.27
Artifact io.legere:pdfiumandroid · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
pdfiumandroid versions up to and including 1.0.26 that we measured ship 4 KB-aligned native libraries (offending for Google Play's 16 KB page-size requirement). The first measured aligned stable version is 1.0.27; the newest measured, 2.0.3, is without an arm64-v8a/x86_64 .so.
14of 21 measured versions with native code ship 4 KB-aligned libraries
1.0.26: p_align = 4 KB (4096)1.0.27: p_align = 16 KB (16384)Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.
How the verdict was reached
In version order, the 34 measured versions of io.legere:pdfiumandroid run as 7 stretches: io.legere:pdfiumandroid:1.0.1 to 1.0.26 offending (4 KB-aligned) (14 measured); then io.legere:pdfiumandroid:1.0.27 to 1.0.34 aligned (16 KB) (4 measured); then io.legere:pdfiumandroid:2.0.0 without an arm64-v8a/x86_64 .so (1 measured); then io.legere:pdfiumandroid:2.0.0.beta11 to 2.0.0.beta15 aligned (16 KB) (2 measured); then io.legere:pdfiumandroid:2.0.0.beta25 to 2.0.0-beta31 without an arm64-v8a/x86_64 .so (3 measured); then io.legere:pdfiumandroid:2.0.0.beta9 aligned (16 KB) (1 measured); then io.legere:pdfiumandroid:2.0.1 to unspecified without an arm64-v8a/x86_64 .so (9 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 1.0.27 is the very next published version after the last offending 1.0.26.
By repository file date, the last offending file (1.0.26) is from 2024-12-28 and the first aligned file (1.0.27) is from 2025-01-09, a gap of 12 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2023: 9 offending (4 KB-aligned)
- 2024: 5 offending (4 KB-aligned)
- 2025: 4 aligned (16 KB)
- 2026: 13 without an arm64-v8a/x86_64 .so, 3 aligned (16 KB)
The offending versions fail on arm64-v8a and x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.
Every version measured
34 of 54 published versions of io.legere:pdfiumandroid were downloaded and read: 14 offending, 7 aligned, 13 with no arm64-v8a/x86_64 .so. Measured files date from 2023-06-11 to 2026-07-26. Newest first. Each version links to the file measured.
- NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): pdfiumandroid-core:2.0.3 aligned. Only these versions were measured; any other successor version is UNVERIFIED
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libpdfiumandroid.so- file date
- Sat, 28 Dec 2024 12:06:20 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libpdfium.so- file date
- Thu, 09 Jan 2025 16:52:07 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 2.0.0.beta9; the last offending one is 1.0.26. It ships 2 native libraries per ABI: libpdfium.so, libpdfiumandroid.so. The verdict is the lowest p_align among them.
Lowest p_align of each native library file across the measured versions (in version order):
libabsl.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libc++_chrome.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libchrome_zlib.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libicuuc.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libpartition_alloc.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libpdfium.cr.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.19(8 versions)libpdfium.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.6to1.0.8(3 versions); 16 KB (16 KB-compatible) inio.legere:pdfiumandroid:1.0.23to2.0.0.beta9(10 versions)libpdfiumandroid.so: 4 KB (offending) inio.legere:pdfiumandroid:1.0.1to1.0.26(14 versions); 16 KB (16 KB-compatible) inio.legere:pdfiumandroid:1.0.27to2.0.0.beta9(7 versions)
| Library file | ABI | p_align @ 1.0.26 | p_align @ 2.0.0.beta9 |
|---|---|---|---|
libpdfium.so | arm64-v8a | 16 KB | 16 KB |
libpdfium.so | x86_64 | 16 KB | 16 KB |
libpdfiumandroid.so | arm64-v8a | 4 KB | 16 KB |
libpdfiumandroid.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("io.legere:pdfiumandroid:1.0.26")implementation("io.legere:pdfiumandroid:1.0.27")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 2.0.3, which ships no 64-bit .so: natives removed or moved, measure the separate artifact). Check: ./gradlew :app:dependencyInsight --dependency pdfiumandroid --configuration releaseRuntimeClasspath // NATIVES MOVED (latest has no 64-bit .so). Successor artifacts measured 2026-10-01 (data/successors-2026-10-01.json): pdfiumandroid-core:2.0.3 aligned. Only these versions were measured; any other successor version is UNVERIFIED
Method and sources
Measured from the published files in repo1.maven.org/maven2/io/legere/pdfiumandroid/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
Published but not downloaded for this page (20 of 54; their status is unknown): 2.0.1-beta28-dev02-07fa954, 2.0.0-beta33, 2.0.0-beta32, 2.0.0-beta30, 2.0.0.beta26, 2.0.0.beta18, 2.0.0.beta14, 2.0.0.beta12, 2.0.0.beta10, 1.0.35, 1.0.33, 1.0.32, 1.0.30, 1.0.28, 1.0.20, 1.0.18, 1.0.16, 1.0.14, 1.0.13, 1.0.11.
Related artifacts
- pdfium-androidcom.github.mhiew:pdfium-android2 of 2 measured versions offending · no aligned release
- ExecuTorchorg.pytorch:executorch-android11 of 26 measured versions offending · fixed
- fbjnicom.facebook.fbjni:fbjni10 of 13 measured versions offending · fixed
- React Native react-androidcom.facebook.react:react-android20 of 77 measured versions offending · fixed
- Hermescom.facebook.react:hermes-android25 of 41 measured versions offending · fixed
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.