1
votes

I want to download android source code. I followed following steps,

$ 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

but getting error

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

I am using Ubuntu-10.04 and I have installed required all the packages and followed all the step mentioned over here

Any help would be appreciated,

Thanks, Nirav

1
Make sure you have curl-devel installed stackoverflow.com/questions/8329485/…spuder
Although you have curl, you didn't install libcurl-devel. Install it and try again.StarPinkER
Unable to install curl-devel & libcurl-devel. Getting error "Building dependency tree Reading state information... Done E: Couldn't find package libcurl-devel"Nirav Dangi

1 Answers

0
votes

If you can't get curl to work, you can use

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

instead.

BTW, you can check if your curl version supports https by running

curl -V

which should print "https" somewhere if it does.