repo sync -d
报错
The program 'repo' can be found in the following packages:
* phablet-tools
* repo
Try: sudo apt install <selected package>
安装repo
sudo apt install repo
没有repo init
error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.
进入.repo文件夹
cd ./.repo
初始化repo init 失败
因为每次都要去查询 所以要每次的初始化
repo init
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 110] Connection timed out
链接仓库失败
修改初始化语句 替换为清华源
repo init -u https://android.googlesource.com/platform/manifest --repo-url https://gerrit-google.tuna.tsinghua.edu.cn/git-repo
还是失败
repo init -u https://android.googlesource.com/p