2016-05-12 15 views
0

从谷歌下载Nexus 5x android源代码之后,我想将我们的代码集成到它。所以,我在.repo/local_manifests/local_manifest.xml下创建了一个本地清单文件。无法使本地清单文件作为默认回购同步

我跑repo init -m .repo/local_manifests/local_manifest.xml并得到以下错误。

致命的:清单 '内的.repo/local_manifests/local_manifest.xml' 不可用 致命的:清单内的.repo/local_manifests/local_manifest.xml没有找到

回答

0

repo init -m some_path/manifest.xml会尝试读取的.repo /舱单/some_path/manifest.xml,这当然会因文件不存在而失败。我不知道如何.repo/local_manifests/works,但我敢肯定,如果你使用完整路径而不是相对路径,它会运行良好。