Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source not Found on Android

Whenever I try to debug my app, Eclipse open a Class File Editor and gives a Source not Found and generally for basic Java classes (For example, Looper.class). I am really sick of this. I cannot debug well because of these Source not Founds. Is there a way to solve this?

Thank you!

like image 440
ciyo Avatar asked Aug 23 '26 16:08

ciyo


1 Answers

Go to Help > Install new Software... in eclipse and add the update site: http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/

You can then download the android sources.

Update: For more recent versions of Android (API level 14 and up), the Android SDK Manager allows you to download the source for a specific API level. You can do that and then when you get the Source not Found message, you can attach the source by entering the path to downloaded source (which should be in your SDK location).

like image 156
HexAndBugs Avatar answered Aug 25 '26 04:08

HexAndBugs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!