Repository navigation
Releases
0.3.0
Runs on LiteRT-LM 0.19.1. Version 0.2.0 ran on 0.16.1.
An app now needs Kotlin 2.3.0 or newer: litertlm-android carries Kotlin 2.4 metadata, and the Kotlin 2.2.10 built into Android Gradle Plugin 9.3.1 refuses it. With that plugin, put classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.3.21") in the root buildscript. An app that uses Compose moves org.jetbrains.kotlin.plugin.compose to the same version. Do not apply org.jetbrains.kotlin.android.
The bundled catalog pins nine models at newer commits of their repos. LiteRT-LM 0.19.1 hands a message's content to the chat template as a list of parts, and the older files' templates do not read that. An app that pins one of these models at an older revision of its own has to move that pin to the catalog's commit. litert-community/Qwen3-4B-Instruct-2507 has no newer file, so on this runtime the SDK refuses it with RUNTIME_VERSION_MISMATCH.
Fixed on the Hub, not in the SDK: on 0.2.0, loading litert-community/LFM2.5-1.2B-Instruct by id failed with CHECKSUM_MISMATCH after the download, because the repo's hfmodels.json listed a sha256 its file did not have. The repo's file is corrected, so 0.2.0 loads it as well (checked on a Pixel 8a).
Checked on a Pixel 11 Pro (16 GB) on 2026-11-11: the 65 litert_lm variants and profiles of the catalog that load on this runtime (all but the two of Qwen3-4B-Instruct-2507). 63 answered. gpu ended the process for Qwen3.5-0.8B int8 and for Nemotron-3-Nano-4B; cpu answered for both.