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


Last Updated:

  1. TomLottermann

    TomLottermann New Member This Topic's Starter

    Joined:
    Sep 26, 2009
    Messages:
    1
    Likes Received:
    0
    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
     

    Advertisement

Share This Page

Loading...