引用问题here
我将manifest.xml复制到.repo并输入:

repo init -m ./.repo/manifest.xml

它不起作用:
jack $ repo init -m ./.repo/manifest.xml
fatal: manifest url (-u) is required.

我确实提供manifest.xml。怎么了?

最佳答案

这是我在本地进行此工作的工作。
我将manifest.xml移动到了~/mymanifest/manifest.xml这样的单独位置
我通过执行以下操作使该目录启用了git

cd ~/mymanifest
git init
git add manifest.xml
git commit -m "My local manifest"
然后,我只需要执行repo init -u ~/mymanifest/即可,它可以像应该的那样加载本地 list !

关于android - 使用本地 list 进行 repo 不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15926159/

10-13 03:42