Sunday, April 1, 2012

Download Android source without "repo" (for browsing purposes)


  • Have Git working. On Windows, it could be cygwin, msysgit or any other.
  • Clone the manifest: git clone https://android.googlesource.com/platform/manifest
  • Open manifest/default.xml
  • You can checkout any Android project listed in default.xml
  • For example, default.xml list the base project:  <project path="frameworks/base" name="platform/frameworks/base" />. To checkout this project, use:  git clone https://android.googlesource.com/platform/frameworks/base

   

No comments:

Post a Comment