repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
2013-08-31 10:11
561 查看
在我下载Android源代码时,在最后一步调用repo sync,出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”,后来在网上查了资料,参考http://zxquiet.iteye.com/blog/1470991和http://bbs.csdn.net/topics/380254094。
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/",保存并退出;
3、继续repo sync就可以下载了。
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/",保存并退出;
3、继续repo sync就可以下载了。
相关文章推荐
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- git push origin master fatal: 'origin' does not appear to be a git repository fatal: Could not read
- GitHub# fatal: 'origin' does not appear to be a git repository
- git does not appear to be a git repository
- git上传文件时出现origin does not to be a git repository
- git does not appear to be a git repository
- 安装Android studio出现'tools.jar' seems to be not in Android Studio classpath的解决方法
- cobbler在执行cobbler check时出现httpd does not appear to be running and proxying cobbler的解决方法
- Vmware Workstation8.0克隆CentOS6.3出现"device eth0 does not seem to be present, delaying initialization"
- 关于使用CursorAdapter()时出现“column '_id' does not exist”错误的说明及解决方案
- git 提交出现这个错误fatal: Unable to create 'project_path/.git/index.lock': File exists.
- 复制虚拟主机出现 Device eth0 does not seem to be present 解决方案
- Git出现fatal: Unable to find remote helper for 'https'
- 错误:error: ISO C++ does not permit 'wxScrolledWindow::sm_eventTable' to be defined as 'MyClass::sm_eventTable'
- git 上传文件到仓库上提示:origin does not to be a git repository
- linux下安装PHP的CI框架,出现Your view folder path does not appear to be set correctly. Please open the following file and correct this: i
- cobbler在执行cobbler check时出现httpd does not appear to be running and proxying cobbler的解决方法