Android 16 KB fix map

ML Kit barcode-scanning (bundled): 16 KB fix is 17.3.0

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

fixed

ML Kit barcode-scanning (bundled) versions up to and including 17.2.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 17.3.0; the newest measured, 17.3.0, is aligned (16 KB).

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

Last offending 17.2.0: p_align = 4 KB (4096)
First aligned 17.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 15 measured versions of com.google.mlkit:barcode-scanning run as 2 stretches: com.google.mlkit:barcode-scanning:16.0.0 to 17.2.0 offending (4 KB-aligned) (14 measured); then com.google.mlkit:barcode-scanning:17.3.0 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.3.0 is the very next published version after the last offending 17.2.0.

By repository file date, the last offending file (17.2.0) is from 2023-08-01 and the first aligned file (17.3.0) is from 2024-08-07, a gap of 372 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

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

15 of 15 published versions of com.google.mlkit:barcode-scanning were downloaded and read: 14 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:barcode-scanning:17.3.02024-08-07aligned16 KB16 KB
com.google.mlkit:barcode-scanning:17.2.02023-08-01offending4 KB4 KB
com.google.mlkit:barcode-scanning:17.1.02023-03-22offending4 KB4 KB
com.google.mlkit:barcode-scanning:17.0.32022-12-05offending4 KB4 KB
com.google.mlkit:barcode-scanning:17.0.22022-01-25offending4 KB4 KB
com.google.mlkit:barcode-scanning:17.0.12021-12-14offending4 KB4 KB
com.google.mlkit:barcode-scanning:17.0.02021-08-11offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.2.02021-06-29offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.1.22021-05-25offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.1.12021-01-26offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.1.02020-12-08offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.0.32020-08-25offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.0.22020-07-28offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.0.12020-07-01offending4 KB4 KB
com.google.mlkit:barcode-scanning:16.0.02020-06-02offending4 KB4 KB

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 17.2.0first aligned 17.3.0
Last offendingversion 17.2.0

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libbarhopper_v3.so
file date
Tue, 01 Aug 2023 15:32:04 GMT
source
artifact
First alignedversion 17.3.0

16 KBp_align 16384 = 2^14

016 KB linestarts on the line
verdict
exactly the 16 KB requirement
library file
jni/arm64-v8a/libbarhopper_v3.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.3.0; the last offending one is 17.2.0. It ships 1 native library per ABI: libbarhopper_v3.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):

  • libbarhopper_v2.so: 4 KB (offending) in com.google.mlkit:barcode-scanning:16.0.0 to 16.2.0 (8 versions)
  • libbarhopper_v3.so: 4 KB (offending) in com.google.mlkit:barcode-scanning:17.0.0 to 17.2.0 (6 versions); 16 KB (16 KB-compatible) in com.google.mlkit:barcode-scanning:17.3.0 (1 version)
Library fileABIp_align @ 17.2.0p_align @ 17.3.0
libbarhopper_v3.soarm64-v8a4 KB16 KB
libbarhopper_v3.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("com.google.mlkit:barcode-scanning:17.2.0")
+implementation("com.google.mlkit:barcode-scanning:17.3.0")

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

Method and sources

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

All 15 published versions were downloaded and measured.

Email me if ML Kit barcode-scanning (bundled)'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.