using a local_manifest.xml with repo

前端 未结 3 991
终归单人心
终归单人心 2021-01-31 06:20

I downloaded the android sources using repo. It says repo is initialized to a directory and thats where the folders get downloaded. Now I have another local_manifest.xml file wh

相关标签:
3条回答
  • 2021-01-31 06:24

    If the file name is really local_manifest.xml, you most probably want to add it to your build instead of building using just it. If that is the case, then simply place it in .repo:

      cp /whereever/local_manifest.xml .repo/local_manifest.xml
      repo sync
    

    The repo tool essentially concatenates manifest.xml and local_manifest.xml.

    For more information, see http://www.androidenea.com/2010/06/using-localmanifestxml-file-in-repo-to.html

    0 讨论(0)
  • 2021-01-31 06:25

    Repo 1.9.1 has a new feature.

    You'll find a new folder under .repo/ named local_manifests.

    The repo tool will follow also the projects in the manifest files you'll add into this folder.

    More info here.

    0 讨论(0)
  • 2021-01-31 06:27

    Do this:

    cp your_local_mainifest.xml .repo/manifests
    repo init -m your_local_manifest.xml
    repo sync
    
    0 讨论(0)
提交回复
热议问题