Add Ivy managed dependencies to Android build path

2019-07-16 12:27发布

问题:

Using Eclipse and Ivy, I'm successfully able to download and manage dependencies. These dependencies are added to Eclipse's build path using IvyDE's container.

However, Android does not find the dependencies. As a workaround, I have to add each Ivy-managed dependency to the build path manually.

Is there a cleaner approach? Can IvyDE be configured with Android in mind?

回答1:

Updating to the latest version of ADT (r16 at the time of writing) has solved the issue.



回答2:

Not an Android developer, so don't have a specific solution.

I could suggest that you investigate ivy's artifactreport task. It generates an XML file, which perhaps you could use to automatically generate the build path.