【问题标题】:Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)未处理的异常:MissingPluginException(在通道 com.tekartik.sqflite 上找不到方法 getDatabasesPath 的实现)
【发布时间】:2020-06-07 03:40:00
【问题描述】:

我的 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)

【问题讨论】:

    标签: flutter flutter-dependencies sqflite


    【解决方案1】:

    我使用的是旧插件e2e: ^0.6.1,我更新了它,现在可以正常工作了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-03
      • 2020-04-20
      • 2020-11-13
      • 1970-01-01
      • 2022-07-22
      • 2022-07-24
      • 2021-07-10
      • 2020-05-29
      相关资源
      最近更新 更多