-2

I want to see the Android source code, but I don't know how to download it. I only find the address on Stack Overflow.

So my questions are:

  1. How do I download the source code from the site https://android.googlesource.com/?
  2. How do I install the source code in Eclipse?
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Eric Chen
  • 1
  • 1
  • 5

1 Answers1

1

You can use Git to download single projects, or you can get the whole tree by following the instructions posted here: https://source.android.com/source/downloading

If you have the full tree you can use the IDE support files located in development/ide/eclipse.

Warning: The full tree is big. Be sure you have plenty of time and available bandwidth quota, if applicable.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
adamp
  • 28,862
  • 9
  • 81
  • 69
  • at last i found,i should use the repo to download all the source code,not the Git,Git just only can download one of the project.thanks. – Eric Chen Mar 10 '11 at 00:55