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:$PATH6.~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.1
7.~/bin/repo sync