Android Configuration

 

Android Configuration:

Change the minimum Android SDK version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21

In android/app/build.gradle, add the following setting in android block.

aaptOptions {
noCompress 'tflite'
noCompress 'lite'
}

Add model and label files in the assets folder, also add them in pubspec.yaml

Comments

Popular posts from this blog

Object Detection App With Flutter and TensorFlow Lite

Model