Can’t log in to GitHub on Android Studio

Try this:

On GitHub:

  • Log in -> Click on your avatar in the top right hand corner
  • Choose Settings -> Developer settings -> Personal access tokens
  • Click on the “Generate new token” button
  • Add a note if you want, like “Android Studio”
  • Select repo(all), read:org (under admin:org), gist, workflow
  • Click on the “Generate token” button
  • Copy the token

On Android Studio:

  • Go to File -> Settings -> Version Control -> GitHub -> Add an account
  • Click on the “Use Token” hyperlink, like in your screenshot
  • Paste your token, click login, click ok

"Log in to GitHub" prompt

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)