2017-06-06 2404 views
0
E/Auth: [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. Account: <ELLIDED:652354120>, App: com.google.android.apps.maps, Service: oauth2:https://www.googleapis.com/auth/mobilemaps.firstparty 
              efl: Long live credential not available. 
               at efm.b(:com.google.android.gms:3117) 
               at efm.a(:com.google.android.gms:119) 
               at edt.a(:com.google.android.gms:437) 
               at eds.a(:com.google.android.gms:31404) 
               at eds.a(:com.google.android.gms:297) 
               at flg.a(:com.google.android.gms:1189) 
               at flf.a(:com.google.android.gms:480) 
               at flf.a(:com.google.android.gms:185) 
               at eaa.a(:com.google.android.gms:370) 
               at eaa.a(:com.google.android.gms:225) 
               at bwf.onTransact(:com.google.android.gms:137) 
               at android.os.Binder.transact(Binder.java:380) 
               at byl.onTransact(:com.google.android.gms:35) 
               at android.os.Binder.execTransact(Binder.java:446) 

我已經添加SHA1簽名的apk並將google-services.json替換爲新的。在使用Google登錄時,應用商店發佈此問題後發佈此問題。使用谷歌登錄BAD_AUTHENTICATION問題

回答

0

通過在谷歌登記您的應用程序(「APP」)Play應用簽名(GPAS)服務,您同意這些條款的約束,

  1. 密鑰生成和存儲

    1.1 。 GPAS是一項可選服務,它提供了一種安全的方式來處理您的應用簽名密鑰 。

    1.2。通過在GPAS中註冊現有的應用程序,您同意將您的 現有應用程序的簽名密鑰發送給Google,並保護或刪除您的密鑰副本 。對於新的應用程序,Google會爲您的應用程序生成一個新的應用程序簽名密鑰 。

    1.3。您可以下載和查看您發佈的由Google簽名的所有APK。

你需要從應用程序簽名證書添加SHA-1指紋你的火基地控制檯還,這是從谷歌生效5月17日的新的更新2017

Please see image for reference

0

看起來好像你有一個配置問題Firebase,Google API控制檯和google-services.json文件。

您會注意到APK版本和調試APK對於Google服務具有不同的SHA1和不同的API密鑰。因此,您需要在Project Setting中的Firebase中添加它們。做完這些之後,您需要下載google-services.json文件並將其放入您的項目中。使用您的密鑰存儲創建新版本,並在Google Play商店上發佈您的應用。

希望它有幫助。

+0

是的,我的確和你提到的一樣,但問題仍然存在 – JosephM