gpt4 book ai didi

android - 无法在 android studio 3.6 中进行 git pull

转载 作者:行者123 更新时间:2023-12-02 11:18:15 27 4
gpt4 key购买 nike

我收到如下所述的错误:

Update failed 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) at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNat



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

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

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

enter image description here

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

enter image description here

最佳答案

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

您可以找到发行说明 here .它说

Git version control authentication issue resolved

In the initial release of Android Studio 3.6, operations requiring authentication in Git version control were broken in the IDE. This bug has been fixed in 3.6.1. See Issue #124680708 for more information.

关于android - 无法在 android studio 3.6 中进行 git pull,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60412242/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com