Can't log in to GitHub on Android Studio

后端 未结 3 2261
长发绾君心
长发绾君心 2020-12-31 13:45

I can\'t sign in to GitHub on Android studio, as the picture shows.

I have reset my password, tried to put \' https:// \' in the server box, and still doesn\'

3条回答
  •  庸人自扰
    2020-12-31 14:17

    Try this:

    • Log into gitHub, click your avatar in the top righthand corner,
    • Choose settings -> Developer settings -> Personal Access Tokens
    • Click the button to Generate New Token
    • Add a note if you want, like "Android Studio"
    • Select repo(all), read:org (under admin:org), gist
    • Click Generate Token button
    • Copy the token
    • In Android Studio, File, Settings, Version Control, Github, add an account
    • Click the Use Token hyperlink like in your screenshot
    • Paste your token, click login, click ok

提交回复
热议问题