且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

getToken()失败。状态BAD_AUTHENTICATION错误

更新时间:2023-01-18 11:26:41

我遇到同样的问题,在我的 google-services.json 文件中出现错误的凭证,并且在得到新文件后,我的问题得到了解决。



in解决这个问题的过程我也更新了我的谷歌播放服务,但我不认为这是必要的。


I've found the following error when running my android application in android studio. app couldn't get installed on my device because of this error. Didn't find the solution :( please help

Auth: [GoogleAccountDataServiceImpl] getToken() failed. Status BAD_AUTHENTICATION, Account: , App:com.android.vending, Service: androidmarket com.google.android.gms.auth.be.account.b.d: Long live credential not available.

I had the same issue what helped me was that I had wrong credentials in my google-services.json file and after getting a new file my problem was fixed.

in the process of resolving this issue I also updated my google play services but I do not think this is necessary .