未处理的异常:MissingPluginException(在com.tekartik.sqflite通道上未找到方法getDatabasesPath的实现)

时间:2020-06-07 03:40:00

标签: flutter flutter-dependencies sqflite

我的Flutter应用程序正在在启动屏幕上冻结,并且出现以下错误日志: 获取这三个插件异常

除了棉花糖以外,其他android版本都可以正常工作:

已经做到了:

-删除了所有插件,并使用flutter pub get重新安装。
-运行干净的颤动和flutter run

    [ +183 ms] E/flutter ( 3672): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method getStorageDirectory on
channel plugins.flutter.io/path_provider)
[        ] E/flutter ( 3672): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
[        ] E/flutter ( 3672): <asynchronous suspension>

    [  +36 ms] E/flutter ( 3672): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method checkPermissionStatus on
channel flutter.baseflow.com/permissions/methods)
[        ] E/flutter ( 3672): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
[        ] E/flutter ( 3672): <asynchronous suspension>

    [ +100 ms] E/flutter ( 3672): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on
channel com.tekartik.sqflite)
[        ] E/flutter ( 3672): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)

1 个答案:

答案 0 :(得分:0)

我使用的是旧插件e2e: ^0.6.1,我对其进行了更新,现在可以正常使用