Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.md]
indent_style = space
markdown_list_style = asterisk
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.12.2 (June 5, 2026)
* **CRITICAL FIX**: Flutter kotlin capability issue fixed
* Flutter `3.44.0` Android support added

## 0.12.1 (October 28, 2025)
* **CRITICAL FIX**: Properly implement Android 16KB page size support
* Migrated from TensorFlow Lite 2.12.0 to Google AI Edge LiteRT 1.4.0
Expand Down
7 changes: 7 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ buildscript {
dependencies {
// The Android Gradle Plugin knows how to build native code with the NDK.
classpath 'com.android.tools.build:gradle:8.6.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.20'
}
}

Expand All @@ -23,6 +24,7 @@ rootProject.allprojects {
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
// Bumping the plugin compileSdkVersion requires all clients of this plugin
Expand Down Expand Up @@ -55,6 +57,10 @@ android {
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = '11'
}

defaultConfig {
minSdkVersion 19

Expand All @@ -65,6 +71,7 @@ android {
dependencies {
def litert_version = "1.4.0"

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.2.20"
implementation("com.google.ai.edge.litert:litert:${litert_version}")
implementation("com.google.ai.edge.litert:litert-gpu:${litert_version}")
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

name: tflite_flutter
description: TensorFlow Lite Flutter plugin provides an easy, flexible, and fast Dart API to integrate TFLite models in flutter apps across mobile and desktop platforms.
version: 0.12.1
version: 0.12.2
homepage: https://github.com/tensorflow/flutter-tflite

environment:
Expand Down