Stops on code from external JAR

Discussion in 'Application Development' started by mrmozart, Jul 10, 2009.

  1. mrmozart

    mrmozart New Member
    5

    Jul 10, 2009
    1
    0
    5
    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
    5

    Apr 2, 2010
    2
    0
    5
    Hi,
    Did you ever get to the bottom of this? I am having a similar problem

    Damian
     
  3. markb

    markb Well-Known Member
    63

    Sep 14, 2009
    148
    26
    63
    Software Developer (Java, C, Web, Unix)
    Birmingham, UK

Share This Page

Loading...