Google login

I am using Android Studio 1.0.2

I clicked on the top right Google sign and I granted access on the OAuth page, but my internet suddenly fell between them, and I think this caused problems.

Whenever I click on the upper right corner, I get an error log in the IDE:

IllegalArgumentException: argument 0 for @NotNull com / google / gct / login / CredentialedUserRoster.setActiveUser must not be null: argument 0 for @NotNull for com / google / gct / login / CredentialedUserRoster.setActiveUser must not be null

I tried to click on the output, but nothing happens (I keep getting this log). I restarted android studio and it still shows me that you are logged in, but I get the same error when I try to log out or even click the top right picture.

My question is: How can I reset only this function?

+5
source share
3 answers

Log in to your google account and go to https://security.google.com/settings/security/permissions?pli=1

Here you will see the name of your application with which you tried to log in to Google. Click on the application and click on "Cancel access" in the right panel.

You can start your application again. You should not receive any errors.

+1
source

I disabled the google login plugin in android studio and enabled it. This fixed the problem.

0
source

If you are using Linux, remember that uninstalling the application does not delete the previous configuration files used by Android Studio and X-Window.

So, before starting the updated AS, delete the following directories:

~/.AndroidStudio* ~/.java/.userPrefs 
0
source

Source: https://habr.com/ru/post/1210524/


All Articles