我在 Gitlab 上有一个项目最近几天我一直在使用它!
现在我想在我的家用电脑上进行 pull
项目,但显示以下错误:
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!
最佳答案
启用凭据助手对我有用,在 Windows 10 上使用 Android Studio 3.6.2
AndroidStudio -> 文件 -> 设置 -> Git -> 使用凭证助手
关于java - 如何修复调用失败来自服务器 : Unauthorized in Android studio 的意外响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55783219/