Re: m2e + Eclipse + ActionbarSherlock

82 views
Skip to first unread message

Riccardo Ciovati

unread,
May 9, 2013, 10:29:09 AM5/9/13
to maven-androi...@googlegroups.com
Just my 2cents: be patient :)
Recently this patch (https://android-review.googlesource.com/#/c/44640/) has been merged and hopefully next version of ADT (and next version of m2e-android) will introduce better support for apklibs. 

Meanwhile, you can take a look at IntelliJ IDEA.

BR

Il giorno giovedì 9 maggio 2013 13:25:26 UTC+2, Ryan Bateman ha scritto:
Hi all,

I'm running into some odd issues that are stumping me somewhat.  
Essentially, I'm able to build, install, and deploy my application using Maven and the Maven-Android plugin. When I start using Eclipse, however, I add (and mavenise) ActionbarSherlock only to start getting 'multiple dex' files issues (specifically for org.apache.Maven.Artifact).  These are, seemingly, caused by ADT pulling in all jars into the classpath, regardless of whether ABS is only using them in test scope. (What's somewhat confusing is that my main project doesn't have have any reference to the same libraries.) 

Now, while this isn't the end of the world (I can just use Eclipse as an IDE and have it build and deploy the app using Maven), I can't imagine I'm alone in this problem.  Has anyone else found a more elegant solution?  I might be trying to have my cake (or CI build process, as the case may be) and eat it, but surely there's a way to have an Android app that uses ActionbarSherlock build in Maven and in ADT simultaneously? 

Any thoughts, experience or help appreciated.

Ryan

Ryan Bateman

unread,
May 10, 2013, 7:26:42 AM5/10/13
to maven-androi...@googlegroups.com
Yes, I'd read about the patch and its progress. Ah well, I'll just have to make do until the next version, as you say. I'll try to believe that the coming Gradle system won't break too much of this. 
Thanks for you thoughts.
Reply all
Reply to author
Forward
0 new messages