Android Studio中使用Git报:Git Unauthorized

报错详细内容:
	Push 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(GitNativeSshAskPassXmlRpcClient... (show balloon)
		百度了一下没找到,科学上网找到了一下。
		正确方式:改为图上即可,不要使用Navite。

在这里插入图片描述

发布了9 篇原创文章 · 获赞 9 · 访问量 1万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章