我正在使用facebook api构建一个Android应用程序,我需要导入facebook android sdk.当我想从github导入这个文件时,它会抛出.."无法列出可用的分支..'无法打开git-upload-pack'"...详细错误现在是:
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
Run Code Online (Sandbox Code Playgroud)
拜托,我怎么解决这个问题?"
ara*_*i01 27
我也遇到过这个问题,尝试使用自签名SSL证书通过https推送到repo.
我的解决方案是运行(从本地存储库根目录):
git config http.sslVerify false
Run Code Online (Sandbox Code Playgroud)
kni*_*ttl 18
您使用的是错误的网址(您使用的是html网页的网址).尝试以下任何一种:
https://github.com/facebook/facebook-android-sdk.git
git://github.com/facebook/facebook-android-sdk.git
use*_*957 11
这对我有用:http://gitblit.com/setup_client.html
Eclipse中/例如:It/JGit
Window->Preferences->Team->Git->Configuration
Click the New Entry button
Key = http.sslVerify
Value = false
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
103392 次 |
最近记录: |