repo init 时出现Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle错误,
由于google的网址不能访问,可以使用清华的这个镜像
repo init -u https://aosp.tuna.tsinghua.edu.cn/mirror/manifest --mirror
或者 export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
$ mkdir ~/bin
$ export PATH=~/bin:$PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo
https://mirror.tuna.tsinghua.edu.cn/help/AOSP/