dart - 未处理的异常 : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException : 10: , null)

标签 dart flutter firebase-authentication

在将其标记为重复之前,请先阅读问题。

我已在我的 Google 控制台中设置了 SHA1 和 SHA256。

enter image description here

我已经尝试了很多方法,但仍然面临错误。

Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

还尝试过 Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)以及其他很多。

我还缺少什么?

最佳答案

很多事情都可能出错,我花了很长时间才解决这个问题。我的解决方法是,我需要在 Firebase 项目的设置中选择支持电子邮件地址。

祝你好运

约翰

Support email

关于dart - 未处理的异常 : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException : 10: , null),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56122520/

相关文章:

firebase - 如何在 Flutter 中使用 Firebase 更改密码

javascript - Firebase currentUser.getIdToken() 在signInWithCustomToken后返回自定义 token

flutter - 如何在 BottomNavigationBar 中的小部件元素内添加 TabBarView

android - 如何在没有 Android Studio 的情况下使用模拟器在 VS 代码中安装 flutter ?

javascript - 我可以通过 dart 调用自定义 javascript 文件吗

dart - 如何在 Dart 中生成随机字符串?

Flutter:防止抽屉关闭

firebase - 如何使用 Firebase 身份验证在 Flutter 中注销用户

flutter - 是否有可能实现一个代表用户在 Flutter/Dart 中的通知数量的图标?

Flutter:正确显示本地日期时间