lazysodium-android 16 KB page-size fix: upgrade to 5.2.0
Artifact com.goterl:lazysodium-android · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
lazysodium-android versions up to and including 5.1.0 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 5.2.0; the newest measured, 5.2.0, is aligned (16 KB).
4of 5 measured versions with native code ship 4 KB-aligned libraries
5.1.0: p_align = 4 KB (4096)5.2.0: 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 5 measured versions of com.goterl:lazysodium-android run as 2 stretches: com.goterl:lazysodium-android:5.0.0 to 5.1.0 offending (4 KB-aligned) (4 measured); then com.goterl:lazysodium-android:5.2.0 aligned (16 KB) (1 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 5.2.0 is the very next published version after the last offending 5.1.0.
By repository file date, the last offending file (5.1.0) is from 2022-11-17 and the first aligned file (5.2.0) is from 2025-05-31, a gap of 926 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2021: 3 offending (4 KB-aligned)
- 2022: 1 offending (4 KB-aligned)
- 2025: 1 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
5 of 5 published versions of com.goterl:lazysodium-android were downloaded and read: 4 offending, 1 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-04-04 to 2025-05-31. Newest first. Each version links to the file measured.
| Coordinate (group:artifact:version) | File date | Result | arm64-v8a p_align | x86_64 p_align |
|---|---|---|---|---|
com.goterl:lazysodium-android:5.2.0 | 2025-05-31 | aligned | 16 KB | 16 KB |
com.goterl:lazysodium-android:5.1.0 | 2022-11-17 | offending | 4 KB | 4 KB |
com.goterl:lazysodium-android:5.0.2 | 2021-04-05 | offending | 64 KB | 4 KB |
com.goterl:lazysodium-android:5.0.1 | 2021-04-05 | offending | 64 KB | 4 KB |
com.goterl:lazysodium-android:5.0.0 | 2021-04-04 | offending | 64 KB | 4 KB |
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libsodium.so- file date
- Thu, 17 Nov 2022 22:03:42 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libsodium.so- file date
- Sat, 31 May 2025 00:03:00 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 5.2.0; the last offending one is 5.1.0. It ships 1 native library per ABI: libsodium.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):
libsodium.so: 4 KB (offending) incom.goterl:lazysodium-android:5.0.0to5.1.0(4 versions); 16 KB (16 KB-compatible) incom.goterl:lazysodium-android:5.2.0(1 version)
| Library file | ABI | p_align @ 5.1.0 | p_align @ 5.2.0 |
|---|---|---|---|
libsodium.so | arm64-v8a | 4 KB | 16 KB |
libsodium.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("com.goterl:lazysodium-android:5.1.0")implementation("com.goterl:lazysodium-android:5.2.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 5.2.0). Check: ./gradlew :app:dependencyInsight --dependency lazysodium-android --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in repo1.maven.org/maven2/com/goterl/lazysodium-android/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 5 published versions were downloaded and measured.
Related artifacts
- zstd-jnicom.github.luben:zstd-jni15 of 28 measured versions offending · fixed
- ARCorecom.google.ar:core17 of 36 measured versions offending · fixed
- Agora special fullio.agora.rtc:agora-special-full36 of 61 measured versions offending · fixed
- Agora full-rtc-basicio.agora.rtc:full-rtc-basic23 of 34 measured versions offending · fixed
- Agora RTC full-sdkio.agora.rtc:full-sdk27 of 28 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.