开发者

Source not found Android?

开发者 https://www.devze.com 2022-12-16 06:53 出处:网络
am facing a problem in Eclipse android development tool Source not found EDIT SOURCE LOOKUP PATH while i debug code in class Instrumentation.class at line

am facing a problem in Eclipse android development tool

Source not found
EDIT SOURCE LOOKUP PATH

while i debug code in class Instrumentation.class at line @param info ActivityInfo from the manifest

above error is raised.

can any one guid开发者_Go百科e me how to resolve this issue?? i am new to android development..


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.


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


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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消