Sergey Shustikov
Sergey Shustikov

Reputation: 15821

Android Studio determines credentials for GitHub as invalid

I have already cloned repository into my computer from github. For clone I used GitHub client. After that I import my project in Android Studio and say about git linking in settings of Version Control.

enter image description here

Meantime my colleague push 1 commit into master branch and ask me for updating project. Usual situation.

After that I trying to update project and AS ask me about credentials

enter image description here

I put correct credentials and click OK. But I was confused when Android Studio ask me about entering credentials again and again, thought 3 times, and show error Fetch failed.

enter image description here

I try to pull and rebase via GitHub Shell client, and all was good. But when I trying to update my project via Android Studio it produces error above.

I really confused about this, maybe I do something wrong?

Upvotes: 0

Views: 1547

Answers (1)

Nik Kober
Nik Kober

Reputation: 918

I solve this problem using ssh link instead of https.

Upvotes: 1

Related Questions