问题
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.
来源:https://stackoverflow.com/questions/8524116/add-ivy-managed-dependencies-to-android-build-path