android Dart未处理异常:MissingPluginException(找不到方法getAll的实现

aor9mmx1  于 2022-12-21  发布在  Android
关注(0)|答案(1)|浏览(167)

错误:

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7)
<asynchronous suspension>
#1      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:377:43)
<asynchronous suspension>
#2      MethodChannelPackageInfo.getAll (package:package_info_plus_platform_interface/method_channel_package_info.dart:13:17)
<asynchronous suspension>
#3      PackageInfo.fromPlatform (package:package_info_plus/package_info_plus.dart:36:26)
<asynchronous suspension>

我不知道这个错误从何而来

8cdiaqws

8cdiaqws1#

使用package_info_plus时也会遇到同样的问题:^3.0.2
完全重启应用程序/服务后问题解决

相关问题