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安装的不行,估计是版本是太低了,自己重新下载一个比较新的版本。同时要安装expat-2.1.0和openSSL文件

以上依赖的文件安装好后,再重新安装git。


安装好git后,确保安装目录git-core下有如下文件:

git-remote-http

git-remote-https

git-remote-ftp

git-remote-ftps


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






原文地址:https://www.cnblogs.com/xinyuyuanm/p/2999159.html