Flutter 使用FlatterEngineCxnRegistry添加TFLite结果

Flutter 使用FlatterEngineCxnRegistry添加TFLite结果,flutter,tensorflow-lite,Flutter,Tensorflow Lite,我试图将tflite:^1.1.1依赖项添加到我的颤振项目中,但每次尝试运行它都会产生以下输出: W/FlutterEngineCxnRegstry( 6035): Attempted to register plugin (io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry$ShimRegistrarAggregate@7f53191) but it was already registered with this Flutt

我试图将
tflite:^1.1.1
依赖项添加到我的颤振项目中,但每次尝试运行它都会产生以下输出:

W/FlutterEngineCxnRegstry( 6035): Attempted to register plugin (io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry$ShimRegistrarAggregate@7f53191) but it was already registered with this FlutterEngine
(io.flutter.embedding.engine.FlutterEngine@98c041e).
W/FlutterEngineCxnRegstry( 6035): Attempted to register plugin (io.flutter.plugins.camera.CameraPlugin@fa678f6) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@9
8c041e).
正如您所猜测的,应用程序不会启动,即使我对使用TFLite的代码的每一部分都进行了注释,所以如果没有这个依赖项,应用程序就可以正常运行。我在我的
android/app/build.gradle
中添加了相应的块

在一篇帖子中,我看到了一个关于将通道更改为
flatterstable
的建议,所以我这样做了。我还运行了
颤振升级