发生异常。 PlatformException(PlatformException(sign_in_failed,com.google.android.gms.common.api.ApiException:10:,null))

时间:2019-06-04 09:06:55

标签: firebase flutter firebase-authentication google-authentication

我在Flutter应用中使用Firebase进行Google身份验证。我在Firebase中注册了应用程序,并设置了所有配置,例如添加SHA1和SHA256密钥,以及全部。但是,我得到了错误:

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

需要返回用户凭证。但是,它引发以下错误。

<div class="container">
    <div class="div blue"> hi hello</div>
    <div class="div blue"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div be"> hi hello</div>
    <div class="div be"> hi hello</div>
    <div class="div red"> hi hello</div>
    <div class="div be"> hi hello</div>
    <div class="div red"> hi hello</div>
    <div class="div be"> hi hello</div>
    <div class="div red"> hi hello</div>
    <div class="div blue"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div yo"> hi hello</div>
    <div class="div be"> hi hello</div>
    <div class="div red"> hi hello</div>
</div>

根据链接Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null),我添加了我的邮件以获得邮件支持,并添加了google-services.json文件。但是,这不能解决我的问题。

0 个答案:

没有答案