Add new library to repo?

I am trying to add a new library to the Android platform, but when I run the "repo status" command, the folder where my library is located does not appear as added.

If, for example, my library is called foo, I created the / external / foo folder and put my library code in it. This foo folder is not displayed with the "repo status" command. Do I have to manually add it to the working tree?

Chris

+4
source share
1 answer

You need to add it to $ ANDROID_TREE / .repo / manifest.xml. For example:

<remote fetch="git://git.myrepo.org/" name="myrepo" review="review.myrepo.org"/> <project name="platform/external/speex" remote="myrepo" path="external/speex" revision="9965152ae52eb4dfdafbdcd8b55e39d1a23052e0"/> 

for more information:

 repo help manifest 

Also, manifest.xml tends to be a symlink to the manifest in the git repository, so keep that in mind.

0
source

All Articles