2013-04-02 42 views
1

我想下载android源代码。 我也跟着下面的步骤,使用Repo下载Android源代码时出现致命错误

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 
$ chmod a+x ~/bin/repo 
$ mkdir android-source 
$ cd android-source 
$ repo init -u https://android.googlesource.com/platform/manifest 

,但得到的错误

**Get https://gerrit.googlesource.com/git-repo 
fatal: Unable to find remote helper for 'https'** 

我使用Ubuntu的10.04和我已经安装了所需的所有包和跟随了here

任何提到的所有步骤帮助将不胜感激,

谢谢,Nirav

+0

确保已卷曲devel的安装 http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https – spuder

+0

是得了安装? – stdcall

+0

虽然你有卷曲,但你没有安装libcurl-devel。安装它并重试。 – StarPinkER

回答

0

如果你不能得到卷曲的工作,就可以使用

wget -O - https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 

代替。

顺便说一句,你可以检查你的卷曲版本运行

curl -V 

支持HTTPS应打印“HTTPS”如果一个地方它。

+0

链接不再存在。 –

+0

最新的URL可以在http://source.android.com/source/downloading.html找到;我的答案是,你可以使用“wget -O - ”而不是卷曲。 – deubeuliou