"The plugin `tflite` uses a deprecated version of the Android embedding."

Viewed 48

My flutter based android application is not working due to this one error, I have been trying since many days but no solution found. Kindly help!

My build.gradle file has error on line 24 which looks like:

version '1.0-SNAPSHOT'

buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.6.3'
    }
}

rootProject.allprojects {
    repositories {
        google()
        jcenter()
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 28

        defaultConfig {
               minSdkVersion 19
                      testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
                      }
    lintOptions {
        disable 'InvalidPackage'
    }

    dependencies {
        compile 'org.tensorflow:tensorflow-lite:+'
        compile 'org.tensorflow:tensorflow-lite-gpu:+'
    }
}
0 Answers
Related