Android 16 KB fix map

zstd-jni 16 KB page-size fix: upgrade to 1.5.7-3

Artifact com.github.luben:zstd-jni · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

fixed

zstd-jni versions up to and including 1.5.7-2 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.5.7-3; the newest measured, 1.5.7-20, is aligned (16 KB).

15of 28 measured versions with native code ship 4 KB-aligned libraries

Last offending 1.5.7-2: p_align = 4 KB (4096)
First aligned 1.5.7-3: p_align = 16 KB (16384)

Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.

Per-major-line fixes

Different major versions have separate fix paths:

  • 1.x: upgrade to 1.5.7-3

How the verdict was reached

In version order, the 41 measured versions of com.github.luben:zstd-jni run as 5 stretches: com.github.luben:zstd-jni:0.4.3 to 1.0.0 without an arm64-v8a/x86_64 .so (9 measured); then com.github.luben:zstd-jni:1.2.0 aligned (16 KB) (1 measured); then com.github.luben:zstd-jni:1.2.0-1 to 1.3.4-7 without an arm64-v8a/x86_64 .so (4 measured); then com.github.luben:zstd-jni:1.3.5-3 to 1.5.7-2 offending (4 KB-aligned) (15 measured); then com.github.luben:zstd-jni:1.5.7-3 to 1.5.7-20 aligned (16 KB) (12 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

The boundary is exact: 1.5.7-3 is the very next published version after the last offending 1.5.7-2.

By repository file date, the last offending file (1.5.7-2) is from 2025-03-17 and the first aligned file (1.5.7-3) is from 2025-05-03, a gap of 47 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2015: 3 without an arm64-v8a/x86_64 .so
  • 2016: 6 without an arm64-v8a/x86_64 .so
  • 2017: 2 without an arm64-v8a/x86_64 .so, 1 aligned (16 KB)
  • 2018: 2 without an arm64-v8a/x86_64 .so, 1 offending (4 KB-aligned)
  • 2019: 3 offending (4 KB-aligned)
  • 2020: 3 offending (4 KB-aligned)
  • 2021: 3 offending (4 KB-aligned)
  • 2023: 2 offending (4 KB-aligned)
  • 2024: 1 offending (4 KB-aligned)
  • 2025: 3 aligned (16 KB), 2 offending (4 KB-aligned)
  • 2026: 9 aligned (16 KB)

The offending versions fail on x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.

Every version measured

41 of 159 published versions of com.github.luben:zstd-jni were downloaded and read: 15 offending, 13 aligned, 13 with no arm64-v8a/x86_64 .so. Measured files date from 2015-12-08 to 2026-09-24. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
com.github.luben:zstd-jni:1.5.7-202026-09-24aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-192026-09-22aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-182026-09-20aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-172026-09-16aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-162026-08-29aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-152026-08-16aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-142026-08-16aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-132026-08-08aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-92026-05-20aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-62025-10-21aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-42025-07-02aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-32025-05-03aligned16 KB16 KB
com.github.luben:zstd-jni:1.5.7-22025-03-17offending64 KB4 KB
com.github.luben:zstd-jni:1.5.6-92025-01-01offending64 KB4 KB
com.github.luben:zstd-jni:1.5.6-32024-04-24offending64 KB4 KB
com.github.luben:zstd-jni:1.5.5-72023-10-29offending64 KB4 KB
com.github.luben:zstd-jni:1.5.4-22023-02-28offending64 KB4 KB
com.github.luben:zstd-jni:1.5.1-12021-12-23offending64 KB4 KB
com.github.luben:zstd-jni:1.4.9-42021-04-05offending64 KB4 KB
com.github.luben:zstd-jni:1.4.8-42021-02-09offending64 KB4 KB
com.github.luben:zstd-jni:1.4.5-122020-10-30offending64 KB4 KB
com.github.luben:zstd-jni:1.4.5-52020-07-02offending64 KB4 KB
com.github.luben:zstd-jni:1.4.4-102020-05-06offending64 KB4 KB
com.github.luben:zstd-jni:1.4.4-32019-11-21offending64 KB4 KB
com.github.luben:zstd-jni:1.3.8-92019-04-15offending64 KB4 KB
com.github.luben:zstd-jni:1.3.8-22019-01-29offending64 KB4 KB
com.github.luben:zstd-jni:1.3.5-32018-08-11offending64 KB4 KB
com.github.luben:zstd-jni:1.3.4-72018-05-17no 64-bit .so––
com.github.luben:zstd-jni:1.3.3-42018-02-17no 64-bit .so––
com.github.luben:zstd-jni:1.3.2-32017-11-19no 64-bit .so––
com.github.luben:zstd-jni:1.2.0-12017-06-15no 64-bit .so––
com.github.luben:zstd-jni:1.2.02017-05-11aligned–2048 KB
com.github.luben:zstd-jni:1.0.02016-09-06no 64-bit .so––
com.github.luben:zstd-jni:0.6.12016-05-23no 64-bit .so––
com.github.luben:zstd-jni:0.6.02016-04-15no 64-bit .so––
com.github.luben:zstd-jni:0.5.12016-02-24no 64-bit .so––
com.github.luben:zstd-jni:0.5.02016-02-12no 64-bit .so––
com.github.luben:zstd-jni:0.4.72016-01-27no 64-bit .so––
com.github.luben:zstd-jni:0.4.52015-12-18no 64-bit .so––
com.github.luben:zstd-jni:0.4.42015-12-17no 64-bit .so––
com.github.luben:zstd-jni:0.4.32015-12-08no 64-bit .so––
Specific to zstd-jni
  • Non-monotone history. An aligned stable release exists before a later offending one (parallel release lines or backports). A higher version number does not guarantee alignment: pick your exact version and measure it. The version below is only the lowest aligned stable version above the highest offending one.
  • NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> use measured aligned 1.5.7-3 (after offending 1.5.7-2). Re-run the checker on the version you resolve
  • ARCHITECTURE-SPECIFIC: the last offending measurement 1.5.7-2 is x86_64-only; its arm64-v8a libraries are aligned

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 1.5.7-2first aligned 1.5.7-3
Last offendingversion 1.5.7-2

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/x86_64/libzstd-jni-1.5.7-2.so
file date
Mon, 17 Mar 2025 05:00:22 GMT
source
artifact
First alignedversion 1.5.7-3

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/libzstd-jni-1.5.7-3.so
file date
Sat, 03 May 2025 14:19:56 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 1.5.7-20; the last offending one is 1.5.7-2. It ships 2 native libraries per ABI: libzstd-jni-1.5.7-2.so, libzstd-jni-1.5.7-20.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):

  • libzstd-jni-1.4.9-3.so: 4 KB (offending) in com.github.luben:zstd-jni:1.4.9-4 (1 version)
  • libzstd-jni-1.5.1-1.so: 4 KB (offending) in com.github.luben:zstd-jni:1.5.1-1 (1 version)
  • libzstd-jni-1.5.4-2.so: 4 KB (offending) in com.github.luben:zstd-jni:1.5.4-2 (1 version)
  • libzstd-jni-1.5.5-7.so: 4 KB (offending) in com.github.luben:zstd-jni:1.5.5-7 (1 version)
  • libzstd-jni-1.5.6-3.so: 4 KB (offending) in com.github.luben:zstd-jni:1.5.6-3 (1 version)
  • libzstd-jni-1.5.6-9.so: 4 KB (offending) in com.github.luben:zstd-jni:1.5.6-9 (1 version)
  • libzstd-jni-1.5.7-13.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-13 to 1.5.7-14 (2 versions)
  • libzstd-jni-1.5.7-15.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-15 (1 version)
  • libzstd-jni-1.5.7-16.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-16 (1 version)
  • libzstd-jni-1.5.7-17.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-17 (1 version)
  • libzstd-jni-1.5.7-18.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-18 (1 version)
  • libzstd-jni-1.5.7-19.so: 16 KB (16 KB-compatible) in com.github.luben:zstd-jni:1.5.7-19 (1 version)

8 more library files not listed.

Library fileABIp_align @ 1.5.7-2p_align @ 1.5.7-20
libzstd-jni-1.5.7-2.soarm64-v8a64 KB–
libzstd-jni-1.5.7-2.sox86_644 KB–
libzstd-jni-1.5.7-20.soarm64-v8a–16 KB
libzstd-jni-1.5.7-20.sox86_64–16 KB

The Gradle change

build.gradle.kts
-implementation("com.github.luben:zstd-jni:1.5.7-2")
+implementation("com.github.luben:zstd-jni:1.5.7-3")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 1.5.7-20). Check: ./gradlew :app:dependencyInsight --dependency zstd-jni --configuration releaseRuntimeClasspath // NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> use measured aligned 1.5.7-3 (after offending 1.5.7-2). Re-run the checker on the version you resolve // ARCHITECTURE-SPECIFIC: the last offending measurement 1.5.7-2 is x86_64-only; its arm64-v8a libraries are aligned

Method and sources

Measured from the published files in repo1.maven.org/maven2/com/github/luben/zstd-jni/. 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 (118 of 159; their status is unknown): 1.5.7-12, 1.5.7-11, 1.5.7-10, 1.5.7-8, 1.5.7-7, 1.5.7-5, 1.5.7-1, 1.5.6-10, 1.5.6-8, 1.5.6-7, 1.5.6-6, 1.5.6-5, 1.5.6-4, 1.5.6-2, 1.5.6-1, 1.5.5-11, 1.5.5-10, 1.5.5-9, 1.5.5-8, 1.5.5-6, 1.5.5-5, 1.5.5-4, 1.5.5-3, 1.5.5-2, 1.5.5-1, 1.5.4-1, 1.5.2-5, 1.5.2-4, 1.5.2-3, 1.5.2-2, 1.5.2-1, 1.5.0-5, 1.5.0-4, 1.5.0-3, 1.5.0-2, 1.5.0-1, 1.4.9-5, 1.4.9-3, 1.4.9-2, 1.4.9-1, 1.4.8-7, 1.4.8-6, 1.4.8-5, 1.4.8-3, 1.4.8-2, 1.4.8-1, 1.4.7-3, 1.4.7-2, 1.4.7-1, 1.4.5-11, 1.4.5-10, 1.4.5-9, 1.4.5-8, 1.4.5-7, 1.4.5-6, 1.4.5-4, 1.4.5-3, 1.4.5-2, 1.4.5-1, 1.4.4-11, 1.4.4-9, 1.4.4-8, 1.4.4-7, 1.4.4-6, 1.4.4-5, 1.4.4-4, 1.4.4-2, 1.4.4-1, 1.4.3-1, 1.4.2-1, 1.4.1-1, 1.4.0-1, 1.3.8-8, 1.3.8-7, 1.3.8-6, 1.3.8-5, 1.3.8-4, 1.3.8-3, 1.3.8-1, 1.3.7-3, 1.3.7-2, 1.3.7-1, 1.3.6-1, 1.3.5-4, 1.3.5-2, 1.3.5-1, 1.3.4-11, 1.3.4-10, 1.3.4-9, 1.3.4-8, 1.3.4-6, 1.3.4-5, 1.3.4-4, 1.3.4-3, 1.3.4-2, 1.3.4-1, 1.3.3-3, 1.3.3-2, 1.3.3-1, 1.3.2-6, 1.3.2-5, 1.3.2-4, 1.3.2-2, 1.3.2-1, 1.3.1-1, 1.3.0-1, 1.2.0-2, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 0.8.0, 0.7.4, 0.7.3, 0.7.2, 0.7.1, 0.7.0.

Email me if zstd-jni's measured 16 KB status changes

You get an email when a re-measurement changes the status. No newsletter.

Double opt-in. Stored: email, library ids, this wording, the time. No IP.