Android Studio GitHub登录名“凭据不正确.请求回复.401未经授权 [英] Android Studio GitHub Login "Incorrect credentials. Request response. 401 Unauthorized
问题描述
我无法通过Android Studio登录到我的GitHub帐户.我不知道为什么我会收到此错误,而且那里似乎没有太多有关此错误的信息.我确保已经安装了Git,甚至尝试使用令牌进行此操作.请参阅附件图像.任何帮助表示赞赏.预先感谢
I am having trouble logging in to my GitHub Account through Android Studio. I don't know why I am getting this error and there doesn't seem to be much about it out there. I made sure to have Git Installed and even tried doing this using a token. See attached images. Any help is appreciated. Thanks in advance
推荐答案
我遇到了同样的问题,并且刚刚解决了它.我正在使用Android Studio 4.1
I have same issue and just solved it. I'm using Android Studio 4.1
我尝试使用个人访问令牌,然后选择android studio
I try using Personal Access Token and select scopes needed for android studio Token Scopes. In Android Studio GitHub setting login using token, enter "http://github.com" (not "github.com") and generated token in the provided field then click log in.
通过该设置,我的登录成功.
My login was succeed with that setup.
这篇关于Android Studio GitHub登录名“凭据不正确.请求回复.401未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!