LiteRT 16 KB page-size fix: upgrade to 1.4.0
Artifact com.google.ai.edge.litert:litert · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
LiteRT versions up to and including 1.3.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 1.4.0; the newest measured, 2.2.0, is aligned (16 KB).
8of 24 measured versions with native code ship 4 KB-aligned libraries
1.3.0: p_align = 4 KB (4096)1.4.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 24 measured versions of com.google.ai.edge.litert:litert run as 2 stretches: com.google.ai.edge.litert:litert:0.1.0 to 1.3.0 offending (4 KB-aligned) (8 measured); then com.google.ai.edge.litert:litert:1.4.0 to 2.2.0 aligned (16 KB) (16 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 1.4.0 is the very next published version after the last offending 1.3.0.
By repository file date, the last offending file (1.3.0) is from 2025-05-19 and the first aligned file (1.4.0) is from 2025-06-30, a gap of 42 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2024: 3 offending (4 KB-aligned)
- 2025: 9 aligned (16 KB), 5 offending (4 KB-aligned)
- 2026: 7 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
24 of 25 published versions of com.google.ai.edge.litert:litert were downloaded and read: 8 offending, 16 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2024-08-26 to 2026-08-13. Newest first. Each version links to the file measured.
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libtensorflowlite_jni.so- file date
- Mon, 19 May 2025 23:09:11 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libtensorflowlite_jni.so- file date
- Mon, 30 Jun 2025 18:48:18 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 2.2.0; the last offending one is 1.3.0. It ships 3 native libraries per ABI: libLiteRt.so, libLiteRtClGlAccelerator.so, libtensorflowlite_jni.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):
libLiteRt.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.1.0to2.2.0(8 versions)libLiteRtClGlAccelerator.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.1.3to2.2.0(5 versions)libLiteRtGpuAccelerator.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.0.0-alphato2.0.1-alpha(2 versions)libLiteRtOpenClAccelerator.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.0.2to2.1.0rc1(6 versions)libLiteRtRuntimeCApi.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.0.0-alphato2.0.2a1(5 versions)liblitert_jni.so: 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:2.0.0-alphato2.1.0rc1(6 versions)libtensorflowlite_jni.so: 4 KB (offending) incom.google.ai.edge.litert:litert:0.1.0to1.3.0(8 versions); 16 KB (16 KB-compatible) incom.google.ai.edge.litert:litert:1.4.0to1.4.2(3 versions)
| Library file | ABI | p_align @ 1.3.0 | p_align @ 2.2.0 |
|---|---|---|---|
libLiteRt.so | arm64-v8a | – | 16 KB |
libLiteRt.so | x86_64 | – | 16 KB |
libLiteRtClGlAccelerator.so | arm64-v8a | – | 16 KB |
libLiteRtClGlAccelerator.so | x86_64 | – | 16 KB |
libtensorflowlite_jni.so | arm64-v8a | 4 KB | – |
libtensorflowlite_jni.so | x86_64 | 4 KB | – |
The Gradle change
implementation("com.google.ai.edge.litert:litert:1.3.0")implementation("com.google.ai.edge.litert:litert:1.4.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 2.2.0). Check: ./gradlew :app:dependencyInsight --dependency litert --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in dl.google.com/android/maven2/com/google/ai/edge/litert/litert/. 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 (1 of 25; their status is unknown): 2.0.0-alpha.1.
Related artifacts
- LiteRT GPUcom.google.ai.edge.litert:litert-gpu8 of 11 measured versions offending · fixed
- ML Kit barcode-scanning (bundled)com.google.mlkit:barcode-scanning14 of 15 measured versions offending · fixed
- ML Kit face-detection (bundled)com.google.mlkit:face-detection7 of 8 measured versions offending · fixed
- ML Kit translatecom.google.mlkit:translate7 of 8 measured versions offending · fixed
- MMKVcom.tencent:mmkv16 of 30 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.