Source not found Android?

前端 未结 5 772
我在风中等你
我在风中等你 2020-12-02 02:36

am facing a problem in Eclipse android development tool

Source not found
EDIT SOURCE LOOKUP PATH

while i debug code in class Instrumentati

相关标签:
5条回答
  • 2020-12-02 02:46

    The sources of the Android API are not included in the SDK download. So when the debugging goes to an Android class Eclipse will raise an error.

    Have a look at this questions for instructions on how to add the source to Eclipse.

    0 讨论(0)
  • 2020-12-02 02:52

    Probably the problem is in wrong coding. Check the AndroidManifest.xml file.

    0 讨论(0)
  • 2020-12-02 02:56

    If an activity want any special feature, then it should be registered on the manifestfile for permission to handle that feature. If you are not registering it in manifestfile, then the

    source not found

    EDIT SOURCE LOOKUP PATH

    would occur when you are on debugging mode.

    I would recommend especially for focus on "uses-permission" tag in manifestfile

    0 讨论(0)
  • 2020-12-02 02:58

    I came across the same error. It was due to variable used to change the app background color. I had created a varibale in string.xml as mycolor = "#FF3344" and had added it as background of Linerar Layout. It seems more of coding error.

    0 讨论(0)
  • 2020-12-02 03:06

    Check your eclipse build path if the folder, that contains you source code is really on the defined build path.

    0 讨论(0)
提交回复
热议问题