在ubuntu10.04下用repo下载android源码,出现如下错误:
Get https://gerrit.googlesource.com/git-repo
fatal: Unable to find remote helper for 'https'
对于这个错误,是由于curl安装的不对,利用sudo apt-get install curl安装的不行,估计是版本是太低了,自己重新下载一个比较新的版本(curl-7.29.0)。同时要安装expat-2.1.0和openSSL文件
以上依赖的文件安装好后,再重新安装git。
安装好git后,确保安装目录git-core下有如下文件:
git-remote-http
git-remote-https
git-remote-ftp
git-remote-ftps
若还有其他问题出现,可以安装一下如下的软件试试:
sudo apt-get install libcurl3
sudo apt-get install libcurl3-dev
这样,上述问题就可以解决了