我正试图在我的Ffltter应用程序中使用谷歌登录,但我收到了以下错误消息,即使在将我的SHA-1 fingerprint 添加到Google Play控制台(Im not using firebase)、确认包名称、添加调试和发布SHA-1 fingerprint 并设置同意页面后等待了24小时:
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
补充资料:
- 我使用的是最新版本的Google Play服务SDK.
- 我已经try 清除我的应用程序的数据和缓存.
- 我已try 卸载并重新安装我的应用程序.
- 我试过在发布模式下运行这款apply.
- 我曾try 在另一台设备上测试这款apply.
预期行为:
我应该能够用谷歌登录登录,而不会收到任何错误.
实际行为:
我收到错误消息
PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null).
个
复制步骤:
- 将SHA-1 fingerprint 添加到Google Play控制台.
- 等待24小时.
- 确认您的Ffltter应用程序中的包名称与 Google Play控制台中的包名称.
- 将调试和发布SHA-1 fingerprint 添加到Google Play 控制台.设置同意页面.
- 试着在你的Ffltter应用程序中使用谷歌登录.
预期结果:
您应该能够使用Google登录登录,而不会收到任何错误.
实际结果:
您将收到错误消息PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
.
Update个
- 网络登录运行良好.
- 当我使用Firebase Auth SDK而不是
google_sign_in
时,移动签名工作正常