Add Ivy managed dependencies to Android build path
Asked Answered
E

2

2

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?

Ecclesiology answered 15/12, 2011 at 17:23 Comment(2)
We took the decision to use Ivy because it appeared simpler (we only needed dependency management) and is designed to integrate with ant. Beginning to think Maven might have been the better option...Ecclesiology
Ivy's a fine tool and a superior dependency manager when compared to Maven (IMHO). However... Maven has a larger install base and better IDE integration. Unless you've got an ANT legacy to defend (unlikely considering Android is so new) I'd recommend learning a new build technology.Sungsungari
E
1

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

Ecclesiology answered 17/12, 2011 at 13:49 Comment(0)
A
0

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.

Amelioration answered 15/12, 2011 at 21:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.