1. Download our Official Android App: Forums for Android!

Apps Stops on code from external JAR

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

  1. mrmozart

    mrmozart Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 10, 2009

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Apr 2, 2010

    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
    Rank:
    None
    Points:
    63
    Posts:
    148
    Joined:
    Sep 14, 2009

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

Share This Page

Loading...