Android 4.3源码的下载

1.sudo apt-get install curl

2.curl http://git-repo.googlecode.com/files/repo-1.12 > ~/bin/repo

3.chmod a+x ~/bin/repo

4.修改~/bin/repo文件将第五行

REPO_URL='https://code.google.com/p/git-repo/'

改为

REPO_URL='http://code.google.com/p/git-repo/'

5. PATH=~/bin:$PATH

6.~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.1

7.~/bin/repo sync

你可能感兴趣的:(Android 4.3源码的下载)