我如何解决:“无法打开'git-upload-pack'”日食中的错误? [英] How Can I Resolve:"can not open 'git-upload-pack' " error in eclipse?
本文介绍了我如何解决:“无法打开'git-upload-pack'”日食中的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在用facebook api构建一个android应用程序,我需要导入facebook android sdk。当我想从github导入这个文件时,它会抛出..无法列出可用的分支..'无法打开git-upload-pack'...现在详细错误:
https://github.com/facebook/facebook-android-sdk/:无法打开git-upload-pack
java.lang.RuntimeException :意外的错误:java.security.InvalidAlgorithmParameterException:trustAnchors参数必须是非空的
我可以解决这个问题吗?
解决方案
您正在使用错误的网址(您正在使用html网页的网址)。其中之一代替:
-
https://github.com/facebook/facebook-android-sdk.git
-
git://github.com/facebook/facebook-android-sdk.git
I am building an android app with the facebook api and I need to import the facebook android sdk. When I want to import this file from github it throws the .."can not list the available branches..'can not open git-upload-pack'"...the detailed error was now:
https://github.com/facebook/facebook-android-sdk/: cannot open git-upload-pack
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Please, how can I resolve this?"
解决方案
You are using the wrong URL (you are using the URL for the html webpage). Try either of these instead:
https://github.com/facebook/facebook-android-sdk.git
git://github.com/facebook/facebook-android-sdk.git
这篇关于我如何解决:“无法打开'git-upload-pack'”日食中的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文