这几天在下载CyanogenMod源码时使用repo sync 总是遇到下面问题:
not a git repository: ‘.repo/projects/frameworks/wilhelm.git’
Google找了很久也没有可行的解决方法,最终自己试了出来
解决方法:
删除 .repo/projects/frameworks/wilhelm.git 和 .repo/project-objects/CyanogenMod/android_frameworks_wilhelm.git
运行命令如下:
rm -rf .repo/projects/frameworks/wilhelm.git
rm -rf .repo/project-objects/CyanogenMod/android_frameworks_wilhelm.git
重新执行 repo sync
文章来源:www.yangpeiyong.com
本文解决了一个在下载CyanogenMod源码过程中使用reposync命令时出现的问题:notagitrepository错误。通过删除特定文件夹并重新执行reposync命令,成功解决了该问题。
源码遇到的“not a git repository”问题&spm=1001.2101.3001.5002&articleId=40113931&d=1&t=3&u=2f0da448877845698615c73122590adb)
2万+

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



