参考http://source.android.com/source/downloading.html
装repo 一个python的东西
http://source.android.com/source/version-control.html
http://source.android.com/source/downloading.html
装repo 一个python的东西
mkdir ~/bin
cd bin/
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$repo init -u https://android.googlesource.com/platform/manifest
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
$ repo sync
http://source.android.com/source/version-control.html
http://source.android.com/source/downloading.html