Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 未处理的异常:缺少PluginException_Flutter_Dart - Fatal编程技术网

Flutter 未处理的异常:缺少PluginException

Flutter 未处理的异常:缺少PluginException,flutter,dart,Flutter,Dart,我正在使用共享的首选项:^0.5.6。当我在workmanager中调用共享首选项时,出现以下错误 Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) 您是否可以运行flatterclean,然后从模拟器或您的设备上卸载应用程序,然后再次运行它我遇到了相同的错误 我在yamal

我正在使用共享的首选项:^0.5.6。当我在workmanager中调用共享首选项时,出现以下错误

Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

您是否可以运行
flatterclean
,然后从模拟器或您的设备上卸载应用程序,然后再次运行它

我遇到了相同的错误 我在yamal文件中有flatter_facebook_登录名:^3.0.0 有什么预防措施 所以要么你升级你的sdk,要么对我无效

当我降级facebookplugin时,它工作正常 谢谢