1. repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r22 报如下错误:
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 101] Network is unreachable
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
解决办法:
- a.基于https://gerrit.googlesource.com/git-repo/clone.bundle下载clone.bundle
- b.执行repo init -u https://android.googlesource.com/platform/manifest
-b android-6.0.1_r22 --repo-url ~/Dwonloads/clone.bundle
执行以上两步,不再报“fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle”错误