6

I am using android studio version 4.2 beta 3 and while I am using the GUI to push/fetch the studio prompts to login on github while I have already set an account.

enter image description here

The strange this is that I can use git on terminal but not on GUI.

I select the first option and my browser navigates me to a website that says to authorize in Github, I press the button, login on Github and then I get the following localhost page which needs some unknown credentials.

enter image description here

Do you have any ideas on how to fix this issue?

Thanks

Nick Pampoukidis
  • 631
  • 8
  • 24

3 Answers3

9

This actually turns out to be an Android Studio bug. See e.g. this and this reports

In the corresponding IntelliJ IDEA version it is working fine.

Log in using a token instead, as a workaround.

Dmitriy Smirnov
  • 6,467
  • 1
  • 16
  • 26
0

Unfortunately the issue still persists in android studios latest release but your workaround of Token works.

Harsh R
  • 11
  • 2
  • Please don't add "thank you" as an answer. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation), you will be able to [vote up questions and answers](https://stackoverflow.com/help/privileges/vote-up) that you found helpful. - [From Review](/review/late-answers/29792709) – Stefano Sansone Sep 10 '21 at 15:32
0

you have to Generate a new SSH key and adding it to the ssh-agent , you can find it there

Ali Salehi
  • 114
  • 1
  • 9