如何修复这个错误? '颤动 shared_preferences 错误'

时间:2021-03-09 22:23:04

标签: flutter flutter-sharedpreference

E/MethodChannel#plugins.flutter.io/shared_preferences(31367):处理方法调用失败 E/MethodChannel#plugins.flutter.io/shared_preferences(31367): java.util.concurrent.RejectedExecutionException: Task io.flutter.plugins.sharedpreferences.MethodCallHandlerImpl$1@c4b4f58 从 java.util.concurrent.ThreadPoolExecutor@b56a9c2[Running,池大小 = 1,活动线程 = 1,排队任务 = 0,已完成任务 = 5] E/MethodChannel#plugins.flutter.io/shared_preferences(31367): 在 java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2086)

1 个答案:

答案 0 :(得分:3)

我在 2.0.3 版本中遇到了这个问题,但在今天发布的 2.0.4 版本中解决了

相关问题