未处理的异常:MissingPluginException(未在通道 com.tekartik.sqflite 上找到方法 getDatabasesPath 的实现)
Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)
我的 Flutter 应用程序在初始屏幕上冻结并且我收到以下错误日志:
获取这三个插件异常
除了 Marshmallow 之外的其他 android 版本工作正常:
已经完成:
-删除所有插件并重新安装flutter pub get
。
-运行 flutter clean 和 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)
我使用的是旧插件 e2e: ^0.6.1
,我更新了它,现在可以正常工作了
我的 Flutter 应用程序在初始屏幕上冻结并且我收到以下错误日志:
获取这三个插件异常
除了 Marshmallow 之外的其他 android 版本工作正常:
已经完成:
-删除所有插件并重新安装flutter pub get
。
-运行 flutter clean 和 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)
我使用的是旧插件 e2e: ^0.6.1
,我更新了它,现在可以正常工作了