Sid*_*oss 11 android sync repository android-manifest
我使用repo下载了android源代码.它说repo被初始化为一个目录,那就是文件夹下载的地方.现在我有另一个local_manifest.xml文件,我想使用repo sync来获取另一个目录.如何使用此新清单文件将目录提取到我的存储库?
小智 23
做这个:
cp your_local_mainifest.xml .repo/manifests
repo init -m your_local_manifest.xml
repo sync
Run Code Online (Sandbox Code Playgroud)
如果文件名确实存在local_manifest.xml
,那么您很可能希望将其添加到构建中,而不是仅使用它构建.如果是这种情况,那么只需将其放在.repo中:
cp /whereever/local_manifest.xml .repo/local_manifest.xml repo sync
该repo
工具基本上连接manifest.xml
和local_manifest.xml
.
有关详细信息,请参阅http://www.androidenea.com/2010/06/using-localmanifestxml-file-in-repo-to.html
归档时间: |
|
查看次数: |
49779 次 |
最近记录: |