play-services-tflite-java 16 KB fix: upgrade to 16.3.0
Artifact com.google.android.gms:play-services-tflite-java · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
play-services-tflite-java versions up to and including 16.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 16.3.0; the newest measured, 16.5.0, is aligned (16 KB).
8of 11 measured versions with native code ship 4 KB-aligned libraries
16.1.0: p_align = 4 KB (4096)16.3.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 11 measured versions of com.google.android.gms:play-services-tflite-java run as 2 stretches: com.google.android.gms:play-services-tflite-java:16.0.0 to 16.2.0-beta02 offending (4 KB-aligned) (8 measured); then com.google.android.gms:play-services-tflite-java:16.3.0 to 16.5.0 aligned (16 KB) (3 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
2 published versions sit between the last offending 16.1.0 and the first aligned 16.3.0: 16.2.0-beta01, 16.2.0-beta02. All of them were measured and none is a stable aligned release.
By repository file date, the last offending file (16.1.0) is from 2023-05-03 and the first aligned file (16.3.0) is from 2024-11-18, a gap of 565 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2022: 5 offending (4 KB-aligned)
- 2023: 3 offending (4 KB-aligned)
- 2024: 2 aligned (16 KB)
- 2026: 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
11 of 11 published versions of com.google.android.gms:play-services-tflite-java were downloaded and read: 8 offending, 3 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2022-02-15 to 2026-04-21. Newest first. Each version links to the file measured.
- The boundary is not exact: only prerelease or unlisted versions lie between the last offending and the first aligned version, so an earlier aligned stable version cannot be ruled out.
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libtensorflowlite_jni_gms_client.so- file date
- Wed, 03 May 2023 20:25:17 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libtensorflowlite_jni_gms_client.so- file date
- Mon, 18 Nov 2024 14:40:37 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 16.5.0; the last offending one is 16.1.0. It ships 1 native library per ABI: libtensorflowlite_jni_gms_client.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):
libtensorflowlite_jni_gms_client.so: 4 KB (offending) incom.google.android.gms:play-services-tflite-java:16.0.0to16.2.0-beta02(8 versions); 16 KB (16 KB-compatible) incom.google.android.gms:play-services-tflite-java:16.3.0to16.5.0(3 versions)
| Library file | ABI | p_align @ 16.1.0 | p_align @ 16.5.0 |
|---|---|---|---|
libtensorflowlite_jni_gms_client.so | arm64-v8a | 4 KB | 16 KB |
libtensorflowlite_jni_gms_client.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("com.google.android.gms:play-services-tflite-java:16.1.0")implementation("com.google.android.gms:play-services-tflite-java:16.3.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 16.5.0). Check: ./gradlew :app:dependencyInsight --dependency play-services-tflite-java --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in dl.google.com/android/maven2/com/google/android/gms/play-services-tflite-java/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 11 published versions were downloaded and measured.
Related artifacts
- JNAnet.java.dev.jna:jna10 of 16 measured versions offending · fixed
- LiteRTcom.google.ai.edge.litert:litert8 of 24 measured versions offending · fixed
- 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
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.