title: Build failed due to use of deprecated Android v1 embedding
body: <p>I got this error when trying to insert TFLite plugin in dependencies in pubspec.yaml in  android studio which cause the build to fail how to fix this error.</p>
  <p>The plugin <code>tflite</code> uses a deprecated version of the Android embedding.
  To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since
  a future release of Flutter will remove these deprecated APIs.
  If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: <a href="https://flutter.dev/go/android-plugin-migration" rel="nofollow noreferrer">https://flutter.dev/go/android-plugin-migration</a>.</p>