Flutter 未处理的异常:缺少PluginException
我正在使用共享的首选项:^0.5.6。当我在workmanager中调用共享首选项时,出现以下错误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
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时,它工作正常
谢谢