MediaPipe tasks-genai 16 KB fix: upgrade to 0.10.22
Artifact com.google.mediapipe:tasks-genai · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
MediaPipe tasks-genai versions up to and including 0.10.21 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 0.10.22; the newest measured, 0.10.35, is aligned (16 KB).
8of 18 measured versions with native code ship 4 KB-aligned libraries
0.10.21: p_align = 4 KB (4096)0.10.22: 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 18 measured versions of com.google.mediapipe:tasks-genai run as 2 stretches: com.google.mediapipe:tasks-genai:0.10.11 to 0.10.21 offending (4 KB-aligned) (8 measured); then com.google.mediapipe:tasks-genai:0.10.22 to 0.10.35 aligned (16 KB) (10 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 0.10.22 is the very next published version after the last offending 0.10.21.
By repository file date, the last offending file (0.10.21) is from 2025-01-31 and the first aligned file (0.10.22) is from 2025-03-11, a gap of 39 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2024: 7 offending (4 KB-aligned)
- 2025: 7 aligned (16 KB), 1 offending (4 KB-aligned)
- 2026: 3 aligned (16 KB)
The offending versions fail on arm64-v8a; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.
Every version measured
18 of 18 published versions of com.google.mediapipe:tasks-genai were downloaded and read: 8 offending, 10 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2024-03-06 to 2026-04-27. 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/libllm_inference_engine_jni.so- file date
- Fri, 31 Jan 2025 21:34:47 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libllm_inference_engine_jni.so- file date
- Tue, 11 Mar 2025 16:49:26 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 0.10.35; the last offending one is 0.10.21. It ships 1 native library per ABI: libllm_inference_engine_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):
libllm_inference_engine_jni.so: 4 KB (offending) incom.google.mediapipe:tasks-genai:0.10.11to0.10.21(8 versions); 16 KB (16 KB-compatible) incom.google.mediapipe:tasks-genai:0.10.22to0.10.35(10 versions)
| Library file | ABI | p_align @ 0.10.21 | p_align @ 0.10.35 |
|---|---|---|---|
libllm_inference_engine_jni.so | arm64-v8a | 4 KB | 16 KB |
libllm_inference_engine_jni.so | x86_64 | – | 16 KB |
The Gradle change
implementation("com.google.mediapipe:tasks-genai:0.10.21")implementation("com.google.mediapipe:tasks-genai:0.10.22")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 0.10.35). Check: ./gradlew :app:dependencyInsight --dependency tasks-genai --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in dl.google.com/android/maven2/com/google/mediapipe/tasks-genai/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 18 published versions were downloaded and measured.
Related artifacts
- MediaPipe solution-corecom.google.mediapipe:solution-core19 of 29 measured versions offending · no aligned release
- MediaPipe tasks-audiocom.google.mediapipe:tasks-audio19 of 28 measured versions offending · fixed
- MediaPipe tasks-textcom.google.mediapipe:tasks-text19 of 29 measured versions offending · fixed
- MediaPipe tasks-visioncom.google.mediapipe:tasks-vision18 of 28 measured versions offending · fixed
- ONNX Runtimecom.microsoft.onnxruntime:onnxruntime-android16 of 31 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.