출처 : http://blog.projectnibble.org/2011/07/17/android-source-code-in-windows-the-easy-way/


전체 버전의 소스를 다 받는것 같음 -_-;; 각각의 버전별로 받으려면 shell script파일 수정 필요



Note: as Rahul comments, the script points to the old repository urls:

The script uses old links: open it using a text editor and replace all

git://android.git.kernel.org/ with

https://android.googlesource.com/

  1. Head over to msysGit and get the latest release (I got Git-1.7.6-preview20110708.exe). Install that thing with all the defaults.
  2. Execute Git Bash from the start menu folder added by the installation
  3. Much like a command prompt, you can change drives and add folders. Create a folder at the location where you want the android sources. For me this was:

    1. cd /d
    2. cd temp
    3. mkdir android_source
    4. cd android_source
  4. Now download the excellent autogit.sh shellscript created by Brad, that downloads all Android repos, to your new folder
  5. Finally, go back to the Git Bash window and execute ‘sh autogit.sh

It’ll take a while to get all of the almost 14 GB of sourcecode.

autogit.sh


+ Recent posts