Download the sources of android

Well, you can follow the instructions here to download the whole repository of android. I did it yesterday. It took me about 10 - 12 hours to download all sources which are about 10G. Then I was wondering maybe a lot of people don’t need to download such a huge repository and then find the wayto do it as follows.

  • Setup repo command by following the instructions in this page.
  • Execute
 repo init -u https://android.googlesource.com/platform/manifest 
  • Go into .repo folder and open manifest.xml. You will find all information of all sub projects.
  • Download the subprojects using
 repo sync project0 project1 project2 

You can also download the sub projects using git clone if you like.

Allen Sun /
Published under (CC) BY-NC-SA in categories Tech  tagged with Android  Git