Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getToken() failed. Status BAD_AUTHENTICATION error

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.

like image 711
Sahar Malik Avatar asked Mar 13 '16 05:03

Sahar Malik


1 Answers

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 .

like image 122
Pouya Danesh Avatar answered Sep 18 '22 17:09

Pouya Danesh