现在的位置: 首页 > 综合 > 正文

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

2013年09月07日 ⁄ 综合 ⁄ 共 301字 ⁄ 字号 评论关闭

为了防止连接数过多,每个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

抱歉!评论已关闭.