Android PDK 다운로드 방법은 다음과 같다.
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > repo $ chmod +x repo$ ./repo init -u https://android.googlesource.com/platform/manifest ... <생략> ... Your Name [______]: <== 이름 입력 Your Email [yarang@local]: <== Email입력 Your identity is: ______ <________> is this correct [y/N]? y <== 확인 끝나면 y/다시하려면 n 입력 Testing colorized output (for 'repo diff', 'repo status'): black red green yellow blue magenta cyan white bold dim ul reverse Enable color display in this user account (y/N)? y repo initialized in /Users/yarang/repos $ ./repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
자신이 원하는 버전에 따라서 branch 이름을 바꿀 수 있다. 위 작업이 끝나면 저장소를 초기화하는 작업이 끝나고 다운로드를 받기 위해서는 다음의 명령으로 다운로드를 시작한다.$ ./repo sync
Android의 소스크기가 상당히 크기 때문에 전부 다운로드받는 시간은 상당히 오래 걸린다는 것을 염두에 두자.











