Serafim Suhenky
Serafim Suhenky

Reputation: 2160

How to get android source

I'm trying to get eclair sources as described here: http://source.android.com/source/downloading.html but getting into trouble after executing a command:

repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.1

fatal: unable to connect to android.git.kernel.org:
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused

Upvotes: 3

Views: 2154

Answers (2)

Leif Andersen
Leif Andersen

Reputation: 22332

You're using an out of date server. With the kernel.org attack a few months back, google moved android to one of their own servers. To get the sources, do:

repo init -u https://android.googlesource.com/platform/manifest -b android-2.1

Upvotes: 2

driis
driis

Reputation: 164291

Your own links states that the URL for repo init should be the https version. Try:

repo init -u https://android.googlesource.com/platform/manifest

Upvotes: 3

Related Questions