Programming/Non programming

Sunday, February 21, 2010

Android: Source not found problem?

Android:

When you debug your code, you may find "Source not found" (or) 'The JAR of this class file belongs to 'Android 1.1 which does not allow modifications to source attachments on its entities' etc. message.
Basically this problem is due to Android sources are not included in Eclipse.

To resolve it,

1. Easy method would be following the below link:

http://android.opensourceror.org/2010/01/18/android-source/

i) Download which version of SDK that you have. For ex: Donut means Android 1.6
ii) Create a folder called "source" For ex: sdk/platforms/android-1.5/sources
iii) Right click and refresh your project in Eclipse.
iv) click Run-Debug History
You will find still the same problem..like you will see message as 'Source not found' with Edit source path button.
v) Click on Edit source path button and click 'Add' button.
vi) Choose 'library system path' and choose your 'source' folder there.

Now go ahead and debug again.


Thank you for followers!

Cheers,

M.P.Prabakar
Senior Systems Analyst.

Have fun and be addictive by playing "TossRing" marvelous iPhone game. Link is below..

No comments:

Post a Comment