Android 16 KB fix map

ML Kit translate 16 KB page-size fix: upgrade to 17.0.3

Artifact com.google.mlkit:translate · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

fixed

ML Kit translate versions up to and including 17.0.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 17.0.3; the newest measured, 17.0.3, is aligned (16 KB).

7of 8 measured versions with native code ship 4 KB-aligned libraries

Last offending 17.0.2: p_align = 4 KB (4096)
First aligned 17.0.3: 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 8 measured versions of com.google.mlkit:translate run as 2 stretches: com.google.mlkit:translate:16.0.0 to 17.0.2 offending (4 KB-aligned) (7 measured); then com.google.mlkit:translate:17.0.3 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: 17.0.3 is the very next published version after the last offending 17.0.2.

By repository file date, the last offending file (17.0.2) is from 2023-11-06 and the first aligned file (17.0.3) is from 2024-08-07, a gap of 275 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2020: 3 offending (4 KB-aligned)
  • 2021: 1 offending (4 KB-aligned)
  • 2022: 2 offending (4 KB-aligned)
  • 2023: 1 offending (4 KB-aligned)
  • 2024: 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

8 of 8 published versions of com.google.mlkit:translate were downloaded and read: 7 offending, 1 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2020-06-02 to 2024-08-07. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
com.google.mlkit:translate:17.0.32024-08-07aligned16 KB16 KB
com.google.mlkit:translate:17.0.22023-11-06offending4 KB4 KB
com.google.mlkit:translate:17.0.12022-08-16offending4 KB4 KB
com.google.mlkit:translate:17.0.02022-01-25offending4 KB4 KB
com.google.mlkit:translate:16.1.22021-03-30offending4 KB4 KB
com.google.mlkit:translate:16.1.12020-08-25offending4 KB4 KB
com.google.mlkit:translate:16.1.02020-07-01offending4 KB4 KB
com.google.mlkit:translate:16.0.02020-06-02offending4 KB4 KB

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 17.0.2first aligned 17.0.3
Last offendingversion 17.0.2

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libtranslate_jni.so
file date
Mon, 06 Nov 2023 18:44:27 GMT
source
artifact
First alignedversion 17.0.3

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/libtranslate_jni.so
file date
Wed, 07 Aug 2024 01:22:15 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 17.0.3; the last offending one is 17.0.2. It ships 1 native library per ABI: libtranslate_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):

  • libtranslate_jni.so: 4 KB (offending) in com.google.mlkit:translate:16.0.0 to 17.0.2 (7 versions); 16 KB (16 KB-compatible) in com.google.mlkit:translate:17.0.3 (1 version)
Library fileABIp_align @ 17.0.2p_align @ 17.0.3
libtranslate_jni.soarm64-v8a4 KB16 KB
libtranslate_jni.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("com.google.mlkit:translate:17.0.2")
+implementation("com.google.mlkit:translate:17.0.3")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 17.0.3). Check: ./gradlew :app:dependencyInsight --dependency translate --configuration releaseRuntimeClasspath

Method and sources

Measured from the published files in dl.google.com/android/maven2/com/google/mlkit/translate/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.

All 8 published versions were downloaded and measured.

Email me if ML Kit translate'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.