您的位置:首页 > 理论基础 > 计算机网络

repo下载android出现fatal: Unable to find remote helper for 'https'问题的方法

2013-04-04 10:37 561 查看
在ubuntu10.04下用repo下载android源码,出现如下错误:

$repo init -u https://android.googlesource.com/platform/manifest
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

这样,上述问题就可以解决了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: