我使用 Android Studio 1.0.2
我点击了右上角的 google 登录内容,并授予了 OAuth 页面的访问权限,但我的互联网突然中断了,我相信这引起了问题。
每当我单击右上角时,就会在 IDE 中看到错误日志:
IllegalArgumentException: Argument 0 for @NotNull parameter of com/google/gct/login/CredentialedUserRoster.setActiveUser must not be null: Argument 0 for @NotNull parameter of com/google/gct/login/CredentialedUserRoster.setActiveUser must not be null
我试图点击退出,但没有任何 react (我一直收到这个日志)。我重新启动了 android studio,它仍然显示我已登录,但是当我尝试退出甚至单击右上角的图片时,我遇到了同样的错误。
我的问题是:如何仅重置此功能?
最佳答案
请登录您的谷歌账户并前往
https://security.google.com/settings/security/permissions?pli=1
在这里,您将看到您尝试使用 google 登录的应用程序的名称。单击该应用程序,然后单击右侧面板上的“撤销访问”。
您可以再次运行您的应用程序。您现在不应该收到任何错误。
关于plugins - 谷歌登录问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27813147/