throw MissingPluginException('在频道 $name 上找不到方法 $method 的实现');

时间:2021-04-03 13:19:25

标签: firebase flutter dart google-cloud-platform google-signin

我有一个 Flutter 应用程序,我使用 Google 登录 Firebase,但我运行应用程序并单击登录按钮,调试时出现错误

 if (result == null) {
  if (missingOk) {
    return null;
  }
  throw MissingPluginException('No implementation found for method $method on channel  $name');
}
return codec.decodeEnvelope(result) as T?;
}

有什么帮助吗?

1 个答案:

答案 0 :(得分:0)

It's Solve 非常简单,只需停止您的应用程序并再次运行它 我希望这是有用的