repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案

1、在存放android系统源代码的目录(也就是执行repo sync命令的目录)下,有个.repo的隐藏目录,用ls -a可以查看的到,进入该目录:cd .repo;


2、打开.repo目录下的manifest.xml文件(命令vim manifest.xml)并找到fetch属性,在我的文件中显示fetch="..",将fetch修改为 fetch="git://Android.git.linaro.org/"( 或则改为 git://git.omapzoom.org ),保存并退出;


3、继续repo sync就可以下载了。


posted on 2014-12-07 15:08  lizhangqu  阅读(298)  评论(0编辑  收藏  举报

导航