Repo 1.22版本发布于2016年7月24日,带来了多项功能更新与性能优化,旨在提升用户体验和系统稳定性。
为了解决以下错误:
```
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 101] Network is unreachable
```
需要将repo拷贝到bin目录下,并修改其属性,具体操作如下:
```bash
sudo cp homerepo bin
sudo chmod a+x bin/repo
```
2016年7月24日更新:由于清华大学TUNA镜像源关闭了git协议的支持,仅支持HTTPS。因此需要将REPO_URL从原来的地址改为https://aosp.tuna.tsinghua.edu.cn/android/git-repo才能正常使用。否则会出现以下错误:
```
Get git://aosp.tuna.tsinghua.edu.cn/android/git-repo
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[0: 166.111.206.63]: errno=Connection refused
aosp.tuna.tsinghua.edu.cn[1: 2001:da8:20f:3101:5054:ff:feb1:be95]: errno=Network is unreachable
```