Stops on code from external JAR


Last Updated:

  1. mrmozart

    mrmozart New Member This Topic's Starter

    Joined:
    Jul 10, 2009
    Messages:
    1
    Likes Received:
    0
    Hi!
    I have an external jar-file (xercesImpl-2.9.1.jar) that I have imported and referenced in my Android-project in Eclipse. It is now visible in "Referenced libraries".

    In Eclipse it finds classes from this jar and there is no error anywhere. But when I debug the code it stops on the first use of an external jar class with the following error:

    Source not found
    The JAR of this class file belongs to container 'Android 1.5' which does not allow modifications to source attachments on its entries

    The line on which it stops lookes like this:

    DOMParser parser = new DOMParser();

    What is going on? How should I add an external JAR?
     

    Advertisement
  2. dcreedon

    dcreedon New Member

    Joined:
    Apr 2, 2010
    Messages:
    2
    Likes Received:
    0
    Hi,
    Did you ever get to the bottom of this? I am having a similar problem

    Damian
     
  3. markb

    markb Well-Known Member

    Joined:
    Sep 14, 2009
    Messages:
    148
    Likes Received:
    26

Share This Page

Loading...