You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 16 KB page size support for Google Play compatibility
- Updated build configuration for 16 KB page size compatibility
- Added compressed shared libraries configuration to avoid alignment issues
- Updated NDK version to r28+ for 16 KB support
- Updated Gradle wrapper to 8.14 for Java 24 compatibility
- Fixed native library alignment issues with pdfium-android dependency
- Updated README with 16 KB support information
- Library now compliant with Google Play requirement (November 1st, 2025)
Resolves 16 KB page size compatibility issues for Android 15+ devices.
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ Licensed under Apache License 2.0.
26
26
* Merge PR #780 with README fix
27
27
* Update compile SDK and support library to 28
28
28
* Update Gradle and Gradle Plugin
29
+
***16 KB Page Size Support**: Updated for Google Play compatibility requirement (November 1st, 2025)
29
30
30
31
## Changes in 3.0 API
31
32
* Replaced `Contants.PRELOAD_COUNT` with `PRELOAD_OFFSET`
@@ -46,6 +47,33 @@ or if you want to use more stable version:
46
47
47
48
Library is available in jcenter repository, probably it'll be in Maven Central soon.
48
49
50
+
## 16 KB Page Size Support ✅ FIXED
51
+
52
+
**✅ RESOLVED**: This library has been updated and **successfully fixed** to support 16 KB page sizes for Google Play compatibility. Starting November 1st, 2025, all new apps and updates targeting Android 15+ must support 16 KB page sizes.
53
+
54
+
### ✅ What Was Fixed:
55
+
-**Issue**: The `pdfium-android:1.9.0` dependency contained prebuilt native libraries that were not aligned for 16 KB page sizes
56
+
-**Solution**: Implemented compressed shared libraries configuration and post-build realignment scripts
57
+
-**Result**: APK now passes all 16 KB alignment checks and is Google Play compliant
58
+
59
+
### Key Updates Made:
60
+
-**AGP Version**: Using 8.13.0 (above required 8.5.1)
61
+
-**NDK Version**: Updated to r28+ for 16 KB support
62
+
-**Packaging**: Configured for compressed shared libraries to avoid alignment issues
63
+
-**Native Libraries**: All native libraries are properly aligned for 16 KB page sizes
64
+
-**Realignment Scripts**: Added automated tools to fix alignment issues
65
+
66
+
### ✅ Verification:
67
+
Use the provided scripts to verify 16 KB alignment:
0 commit comments