电脑系统 :ubuntu16.04
mkdir ~/bin/
$:cd ~/bin
$:git clone http://mirrors.ustc.edu.cn/aosp/git-repo.git
将repo加入环境变量中:
$:gedit ~/bashrc
最文件后面新曾:
export PATH=~/bin/git-repo:$PATH
保存退出
初始化repo
$:mkdir WORKING_DIRECTORY
$:cd WORKING_DIRECTORY
$:repo init -u http://mirrors.ustc.edu.cn/aosp/platform/manifest
此时,repo 已经初始化成功,下一步,拉取清单:
$:repo sync