問題描述
我在 Gitlab 上有一個(gè)項(xiàng)目,過去幾天我一直在使用它!
I have one project on Gitlab and I worked with it for the last few days!
現(xiàn)在我想在我的家用電腦上進(jìn)行 pull
項(xiàng)目,但顯示以下錯(cuò)誤:
Now i want pull
project on my home PC but show me below error :
Invocation failed Unexpected Response from Server: Unauthorized
java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34)
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30)
Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
我的android studio版本是3.4!
My android studio version is 3.4 !
推薦答案
設(shè)法像這樣修復(fù)它:
AndroidStudio -> Preferences -> Git -> SSH Executable 并從 Native
更改為 Built-in
并開始工作.
AndroidStudio -> Preferences -> Git -> SSH Executable and changed from Native
to Built-in
and it started working.
這是針對 Android Studio 3.4 的,對于 3.6 Volodymyr 在下面有答案.
this is for Android Studio 3.4, for 3.6 Volodymyr has an answer below.
這篇關(guān)于如何修復(fù)調(diào)用失敗來自服務(wù)器的意外響應(yīng):在 Android 工作室中未經(jīng)授權(quán)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!