下载Android sdk的时候,执行到repo sync的时候,出现了如下的错误
fatal: '../platform/abi/cpp.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedlyerror: Cannot fetch platform/abi/cpp
解决方法如下:
在.repo目录下的manifest.xml里找到fetch属性
我的是fetch=”..”
改成
fetch= "git://Android.git.linaro.org/"
本文提供了解决在下载Android SDK时遇到的git远程仓库无法连接问题的方法,通过修改repo目录下的manifest.xml文件中的fetch属性,将相对路径更改为完整的git地址,从而顺利执行reposync命令。
1万+

被折叠的 条评论
为什么被折叠?



