2017-06-06 2414 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