When I am trying to look at platform JAR or when I am debugging my android application in Eclipse
, the following screen always show.
I have read some of the posts online and understand that Android SDK does not come with Source Code. But how can I download the correct version of source code and attach in Eclipse?
I guess the following link provides the right solution for me, however, unfortunately it is outdated and I can download the source code for only Cupcake(1.5), Donut(1.6) & Eclair(2.1).
Attaching Android platform source in Eclipse
Can anyone provide me the link to download the source code for Ice Cream Sandwich(4.0.3)? Any help will be much appreciated.
My problem was solved by following a few steps below.
1) I downloaded the source code via Android SDK Manager. (The sources are downloaded to the source directory located in "path_to_android_sdk/sources/android-xx”). xx is the API level number (15 for 4.0.3). Android Versions and API Levels can be found in the following link for your convenience.
Android Versions and API Levels
2) I zipped the downloaded file. (android-15 in this case)
3) In "Source Not Found" page, I clicked "Attach Source" button and chose the zip file that I archived in step 2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With