2016-05-12 36 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,但我敢肯定,如果你使用完整路徑而不是相對路徑,它會運行良好。