Android studio版本更新 导致git无法pull、push

Android studio版本更新 导致git无法pull、push,第1张

android studio 版本:2020.03(大概...)

android studio 更新后版本:

在拉取代码时出现:

Push failed Invocation failed Server returned invalid Response. 
java.lang.RuntimeException: Invocation failed Server returned invalid Response. 
at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22) 
at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:56) Caused by: java.io.IOException: Server returned invalid Response. 
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:242) 
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.GitAppUtil.sendXmlRequest(GitAppUtil.java:19) 
... 1 more unable to read askpass response from 
'C:\Users\focksor\AppData\Local\JetBrains\CLion2020.2\tmp\intellij-git-askpass-local.sh' 
bash: /dev/tty: No such device or address failed to execute prompt script (exit code 1) could not read Username for 'https://gitee.com': No such file or directory

 what fuck???

android studio版本git pull/push没有问题,应该是更新后出现了兼容问题(个别现象?同事的OK);

解决方案:

 双击修改地址

 做如下修改

如果一切顺利、点击OK就不会有错误提示... 

尝试pull 或 push 应该就OK了!

希望能帮到、遇到此问题的倒霉蛋!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/992543.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-21
下一篇 2022-05-21

发表评论

登录后才能评论

评论列表(0条)

保存