【发布时间】:2020-06-11 08:04:00
【问题描述】:
在 android studio 3.6 中尝试使用 ssh 进行推送或拉取或任何操作时出现以下错误
更新失败调用失败来自服务器的意外响应:未经授权的 java.lang.RuntimeException:调用失败来自服务器的意外响应:在 org.jetbrains 的 org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34) 未经授权.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30) 原因:java.io.IOException:来自服务器的意外响应:在 org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231) 处未经授权。 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 org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNat.... ………… .......
看起来问题出在本机 ssh 上,我们无法像以前的版本一样将其更改为内置...如何解决这个问题???
任何帮助将不胜感激
【问题讨论】:
-
我有同样的问题,这里有其他问题:stackoverflow.com/questions/60412242/… 但据我所知没有解决方案
标签: android git android-studio android-studio-3.0