getToken() failed. Status BAD_AUTHENTICATION error

后端 未结 11 1174
耶瑟儿~
耶瑟儿~ 2020-12-05 09:14

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 solut

11条回答
  •  醉梦人生
    2020-12-05 09:46

    Here is my take towards this problem:

    1. You may be using a single email to try and log in to google. It may be possible you might have changed the password of the particular email in the recent past. Make sure u remove your google-email from your phone/emulator. When u re-run your application, you will be asked to enter both email and password credentials.

    2. Check if your credentials.json is still valid. Sometimes its possible that your client ID might be removed/corrupted if you have not used your android application for a long time. Make a new one and dont forget to copy-paste it in app folder of Android Project view.

    PS: I am new to Android Studio and writing answers on stackoverflow in general. If you are reading this comment please let me know what improvements i can make while answering questions in the future.

提交回复
热议问题