安装repo
mkdir ~/bin
git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/
cp git-repo/repo ~/bin/
然后打开repo文件 替换成
REPO_URL = ‘git://aosp.tuna.tsinghua.edu.cn/android/git-repo‘
gedit ~/.bashrc打开在最后加入
alias repo="~/bin/repo"
repo init -u https://android.googlesource.com/platform/manifest -b android-cts-4.2_r2
repo sync
时间: 2024-10-14 07:10:50