While trying to debug a program I wrote in Eclipse for Android, I receive an error saying there’s no source attachment for android.jar.
How do I get that source attached to Eclipse to continue my debugging?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Eclipse:
Window > Android SDK Manager, install “Sources for Android SDK” under Android 4.0
When prompted by “No sources attached…”, click the button, then choose the Directory “your Android SDK directory/sources/android-API level/”
Example: C:\…\android-sdk-windows\sources\android-16