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。

Android Studio中使用Git报:Git Unauthorized_第1张图片

你可能感兴趣的:(Android)