電腦系統 :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