How can I download Android source code
I cannnot vist this sit开发者_StackOverflow中文版e:android.git.kernel.org,where else can I get Android source code? Thanks
There's a mirror over @ github.
https://github.com/android/
If you only want the source on hand for reference there are two very useful Eclipse plugins which complement the SDK and keep Android source up-to-date and correspondent to the target version of your project:
http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update
http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update
Downloading the source code for linux/mac is easy using the Google's instructions on http://source.android.com/
But, using Windows I did this by using Ubuntu live CD, and downloading all the source code using the linux instructions.
There are some commands you need to use for the code to be downloaded to your main hardrive. I wrote a blog post about it here: http://udinic.wordpress.com/2011/11/18/the-source-for-all-goodness/
The official github mirror seems to be at aosp-mirror now
More info about structure: here
精彩评论