How to fix Invocation failed Unexpected Response from Server: Unauthorized in Android studio

后端 未结 6 1179

I have one project on Gitlab and I worked with it for the last few days!

Now i want pull project on my home PC but show me below error :

6条回答
  •  攒了一身酷
    2021-01-31 15:35

    I had the same issue. Fixed it by adding SSH private key to the ssh-agent in the command line:

    $ ssh-add -K ~/.ssh/id_rsa
    

    Also, check if Git settings are set to Native

    Settings --> Version Control --> Git in the SSH executable: dropdown, choose Native

    EDIT It was fixed in the latest version 3.6.1 of Android Studio https://androidstudio.googleblog.com/2020/02/android-studio-361-available.html

提交回复
热议问题