同步android源码Exited sync due to fetch errors的问题

为了防止连接数过多,每个ip都需要认证。。。

第一步:从这里 the password generator  获取用户名和密码

第二步:将上面的页面上以machine开头的两行复制到  ~/.netrc文件中

第三步:repo init -u https://android.googlesource.com/a/platform/manifest  多了个“/a”

然后就可以repo sync了


特别注意.netrc文件是在用户的根目录下,root用户就是/目录下,如果没有的话就自己建一个,把权限改为 *00




原文地址:http://blog.csdn.net/fantao015/article/details/7625559

猜你喜欢

转载自blog.csdn.net/huangrangg12/article/details/8718709