UMAR-MOBITSOLUTIONS
UMAR-MOBITSOLUTIONS

Reputation: 77984

Source not found Android?

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 guide me how to resolve this issue?? i am new to android development..

Upvotes: 4

Views: 23080

Answers (5)

Bahaa Hany
Bahaa Hany

Reputation: 754

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

Upvotes: 0

Deva
Deva

Reputation: 2536

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

Upvotes: 0

Dinesh
Dinesh

Reputation: 1

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.

Upvotes: 0

David Webb
David Webb

Reputation: 193696

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.

Upvotes: 8

Andreas Dolk
Andreas Dolk

Reputation: 114757

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

Upvotes: 0

Related Questions