Creating an Android Project Using Ant / Ivy

I am currently working on a growing Android project. To freeze "Jar Hell" in my path, I'm trying to configure Ivy with Ant to manage dependencies. I created an ivy.xml file that successfully retrieves all its dependencies when called. After that, I installed the Eclipse IvyDE plugin to use ivy.xml with my current project. All dependencies are displayed in Eclipse, and when I go to the build path, they are there. When I click "Run as Android App", everything builds. When the application loads (in the emulator or in a real phone), it immediately starts at startup. From what I can say, dependencies do not compile with my application. Eclipse itself seems to be aware of the dependencies because it does not cause error messages.

So ... Can someone point me in the right direction to solve this problem? Is there something I misunderstand about Ivy or the IvyDE plugin? Thank!

I also looked at this issue. Add Ivy dependent dependencies to the Android creation path , where the iser seemed to have the same problem. I use the latest version of all the tools involved.

+5
source share
1 answer

, , , , . , , ivysettings.xml. , . , GitHub, , Ivy Android. , , .

https://github.com/h8/IvyAndroidExample

+13

All Articles