• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Convince Dalvik to add a class with the same canonical path as another

Hi!
I'm using a library of a friend of mine and it is build up in a way that some classes have the same canonical name (in other jars)... I'm not quite sure how he does it, but it does not lead to a jar hell and the normal sun java compiler doesn't worry about it...
Now I want to use the library in android and now dalvik comes and says:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lnet/xeoh/plugins/remote/ExportResult;

Seems to be a security to prevent android from having a jar hell, and now I wonder if i can tell dalvik that this is very nice of it, but that I don't really care, and that it should add it anyway?

Cheers
 
Back
Top Bottom