Android 16 KB fix map

ML Kit face-detection (bundled) 16 KB fix: upgrade to 16.1.7

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

fixed

ML Kit face-detection (bundled) versions up to and including 16.1.6 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.1.7; the newest measured, 16.1.7, is aligned (16 KB).

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

Last offending 16.1.6: p_align = 4 KB (4096)
First aligned 16.1.7: 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 16 measured versions of com.google.mlkit:face-detection run as 3 stretches: com.google.mlkit:face-detection:16.0.0 to 16.0.7 without an arm64-v8a/x86_64 .so (8 measured); then com.google.mlkit:face-detection:16.1.0 to 16.1.6 offending (4 KB-aligned) (7 measured); then com.google.mlkit:face-detection:16.1.7 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: 16.1.7 is the very next published version after the last offending 16.1.6.

By repository file date, the last offending file (16.1.6) is from 2024-02-20 and the first aligned file (16.1.7) is from 2024-08-07, a gap of 169 days. Both dates are file times, not vendor release announcements.

Measured files by the year of their repository date:

  • 2020: 4 without an arm64-v8a/x86_64 .so
  • 2021: 4 without an arm64-v8a/x86_64 .so, 4 offending (4 KB-aligned)
  • 2022: 2 offending (4 KB-aligned)
  • 2024: 1 offending (4 KB-aligned), 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

16 of 16 published versions of com.google.mlkit:face-detection were downloaded and read: 7 offending, 1 aligned, 8 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:face-detection:16.1.72024-08-07aligned16 KB16 KB
com.google.mlkit:face-detection:16.1.62024-02-20offending16 KB4 KB
com.google.mlkit:face-detection:16.1.52022-02-22offending4 KB4 KB
com.google.mlkit:face-detection:16.1.42022-01-25offending4 KB4 KB
com.google.mlkit:face-detection:16.1.32021-12-14offending4 KB4 KB
com.google.mlkit:face-detection:16.1.22021-06-29offending4 KB4 KB
com.google.mlkit:face-detection:16.1.12021-06-02offending4 KB4 KB
com.google.mlkit:face-detection:16.1.02021-05-25offending4 KB4 KB
com.google.mlkit:face-detection:16.0.72021-04-27no 64-bit .so––
com.google.mlkit:face-detection:16.0.62021-03-30no 64-bit .so––
com.google.mlkit:face-detection:16.0.52021-02-05no 64-bit .so––
com.google.mlkit:face-detection:16.0.42021-01-26no 64-bit .so––
com.google.mlkit:face-detection:16.0.32020-12-08no 64-bit .so––
com.google.mlkit:face-detection:16.0.22020-08-25no 64-bit .so––
com.google.mlkit:face-detection:16.0.12020-07-01no 64-bit .so––
com.google.mlkit:face-detection:16.0.02020-06-02no 64-bit .so––
Specific to ML Kit face-detection (bundled)
  • ARCHITECTURE-SPECIFIC: the last offending measurement 16.1.6 is x86_64-only; its arm64-v8a libraries are aligned

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 16.1.6first aligned 16.1.7
Last offendingversion 16.1.6

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/x86_64/libface_detector_v2_jni.so
file date
Tue, 20 Feb 2024 17:54:15 GMT
source
artifact
First alignedversion 16.1.7

16 KBp_align 16384 = 2^14

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

  • libface_detector_v2_jni.so: 4 KB (offending) in com.google.mlkit:face-detection:16.1.0 to 16.1.6 (7 versions); 16 KB (16 KB-compatible) in com.google.mlkit:face-detection:16.1.7 (1 version)
Library fileABIp_align @ 16.1.6p_align @ 16.1.7
libface_detector_v2_jni.soarm64-v8a16 KB16 KB
libface_detector_v2_jni.sox86_644 KB16 KB

The Gradle change

build.gradle.kts
-implementation("com.google.mlkit:face-detection:16.1.6")
+implementation("com.google.mlkit:face-detection:16.1.7")

an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 16.1.7). Check: ./gradlew :app:dependencyInsight --dependency face-detection --configuration releaseRuntimeClasspath // ARCHITECTURE-SPECIFIC: the last offending measurement 16.1.6 is x86_64-only; its arm64-v8a libraries are aligned

Method and sources

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

All 16 published versions were downloaded and measured.

Email me if ML Kit face-detection (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.