无法在 android studio 3.6 中 git pull

AnV*_*AnV 8 git android intellij-idea android-studio android-studio-3.6

我收到如下错误:

更新失败调用失败来自服务器的意外响应:未经授权的 java.lang.RuntimeException:调用失败来自服务器的意外响应:在 org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java.4idea.34) 未经授权nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30) 引起:java.io.IOException:来自服务器的意外响应:在 org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231) 在 orgpcr.xml 处未经授权.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90) 在 org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72) 在 org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194) 在 org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185) 在 org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient) .java:178) 在 org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNat

在以前的版本中,我设法像这样修复它:

AndroidStudio -> Preferences -> Git -> SSH Executable 并从 Native 更改为 Built-in 并开始工作。在此处查看用户界面:https : //i.stack.imgur.com/KCvHA.png

但是在 android studio 3.6 中,我在设置中看不到上述选项。

在此处输入图片说明

我还使用右上角的测试按钮测试了 git 。Git 正在成功执行。

在此处输入图片说明

AnV*_*AnV 1

此问题在 Android Studio 3.6.1 中已得到解决。我通过从 3.6 更新到 3.6.1 来验证它,并且 git 正在按预期工作

您可以在此处找到发行说明。它说

Git 版本控制身份验证问题已解决

在 Android Studio 3.6 的初始版本中,需要在 Git 版本控制中进行身份验证的操作在 IDE 中被破坏。该错误已在 3.6.1 中修复。有关更多信息,请参阅问题#124680708。