Android 16 KB fix map

TFLite 16 KB fix: moved to com.google.ai.edge.litert:litert

Artifact org.tensorflow:tensorflow-lite · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

relocated

org.tensorflow:tensorflow-lite is now a POM-only stub that points at com.google.ai.edge.litert:litert:1.0.1. The aligned code lives in the new artifact; see relocated libraries.

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

Last offending 2.16.1: p_align = 4 KB (4096)

Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.

How the verdict was reached

In version order, the 26 measured versions of org.tensorflow:tensorflow-lite run as 2 stretches: org.tensorflow:tensorflow-lite:0.1 to 2.16.1 offending (4 KB-aligned) (25 measured); then org.tensorflow:tensorflow-lite:2.17.0 a POM-only stub (1 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

Measured files by the year of their repository date:

  • 2021: 16 offending (4 KB-aligned)
  • 2022: 4 offending (4 KB-aligned)
  • 2023: 3 offending (4 KB-aligned)
  • 2024: 2 offending (4 KB-aligned)

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

26 of 29 published versions of org.tensorflow:tensorflow-lite were downloaded and read: 25 offending, 0 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-03-12 to 2024-04-16. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
org.tensorflow:tensorflow-lite:2.17.0n/aPOM-only stub––
org.tensorflow:tensorflow-lite:2.16.12024-04-16offending4 KB4 KB
org.tensorflow:tensorflow-lite:2.15.02024-02-16offending4 KB4 KB
org.tensorflow:tensorflow-lite:2.14.02023-09-30offending4 KB4 KB
org.tensorflow:tensorflow-lite:2.13.02023-07-07offending4 KB4 KB
org.tensorflow:tensorflow-lite:2.12.02023-04-04offending4 KB4 KB
org.tensorflow:tensorflow-lite:2.11.02022-12-01offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.10.02022-09-03offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.9.02022-05-19offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.8.02022-02-11offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.7.0-rc02021-10-08offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.7.02021-11-09offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.6.02021-08-18offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.4.02021-03-12offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.3.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.2.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.1.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:2.0.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.14.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.13.12021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.12.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.11.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.10.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:1.9.02021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:0.1.72021-04-20offending64 KB4 KB
org.tensorflow:tensorflow-lite:0.12021-04-20offending64 KB4 KB

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 2.16.1
Last offendingversion 2.16.1

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libtensorflowlite_jni.so
file date
Tue, 16 Apr 2024 18:22:21 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 2.16.1. It ships 1 native library per ABI: libtensorflowlite_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):

  • libtensorflowlite_jni.so: 4 KB (offending) in org.tensorflow:tensorflow-lite:0.1 to 2.16.1 (25 versions)
Library fileABIp_align @ 2.16.1
libtensorflowlite_jni.soarm64-v8a4 KB
libtensorflowlite_jni.sox86_644 KB

The Gradle change

build.gradle.kts
-implementation("org.tensorflow:tensorflow-lite:2.16.1")
?no aligned version measured: nothing to change this to yet

RELOCATED to com.google.ai.edge.litert:litert: use com.google.ai.edge.litert:litert:1.4.0 or newer (aligned; latest measured 2.2.0); org.tensorflow:tensorflow-lite 2.17.0 is a POM-only stub. WARNING: the stub points at com.google.ai.edge.litert:litert:1.0.1, which is itself 4 KB-aligned (offending on x86_64 and/or arm64): merely bumping org.tensorflow:tensorflow-lite to 2.17.0 stays NON-compliant.

Method and sources

Measured from the published files in repo1.maven.org/maven2/org/tensorflow/tensorflow-lite/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.

Published but not downloaded for this page (3 of 29; their status is unknown): 2.10.0-rc3, 2.5.0, 1.15.0.

Email me if TFLite'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.