In the absence of associated source code, the following problems can not see the Android source code
Workaround
1. Find the source location
2. Setting the association in Eclipse
------Development for Android
(1) Source code location is placed in the SDK directory sources file inside
Can see, I downloaded the source code is api-14 to api-19
(2) Eclipse Settings Association
Click on the Attach Source button on figure one to click External location in the Click External folder to add folders
Select your project corresponding API, because my project is 4.3 corresponding to api-18, so I chose the android-18
That's it. So the file is closed and then opened to see the source code.
Another question, suppose I now set the project to 4.4.2 that is api-19, the source code will automatically link to api-19?
Answer: It will be automatically linked.
I did a small experiment, with tools in the api-18 and api-19 activity source added a little logo
Start the project is 4.3 open activity source code is API-18 logo, when I set the project to 4.4.2, open the source code
See the logo is API-19, verify the above problems.
Eclipse Associated Source Code