I\'m getting this issue while logging in on GitHub on Android Studio:
Can\'t login: Can\'t get user info 404: Not found
Using 'https://github.com/' and my credentials, I get access
I faced the this issue for my private repository, So in Github I created new access token and given all access for this token. Use this token in Android studio, It worked for me
For me the problem was that the repository URL was set with http:// but the credential goes to the same URL but with https://.
changing the repository URL to https:// solved my problem.
I'm done with this problem, use the token to login. create tokens in this way; simply checklist on
-repo -admin:org -gist Ceklist Token
1- Go to your github page,
2- Open Settings menu and create a new token
3- Copy new token
4- Open Androdi studio goto VCS -> import into version control -> Share Project in Git Hub login
5- Use Token option
6- Paste token you created and copied
7- Click login
No need to change url
I am using Android Studio 4.1
I use "github.com" as host (not the whole clone url), and my github login and password and can login without any issues.