error: Exited sync due to fetch errors

android 同步源码的时候,经常会遇到这个问题,查了一下原因较多,网速什么的都会影响到,有一点需要注意的是 Google为了防止连接数过多,每个ip都需要认证,这里再次:
repo init -u https://Android.googlesource.com//platform/manifest
这样会不会导致重新下我不知道,没敢测试- -。。。 想了个办法,直接在浏览器上登录
github,然后再次在Terminal里输入 repo sync 就可以了,不需要再进行init操作

猜你喜欢

转载自blog.csdn.net/wx_anonymity/article/details/56675144