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

在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


这样,上述问题就可以解决了






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值