Since 2011, source code can be downloaded using the SDK Manager (Window> Android SDK Manager)
- Install Sources for Android SDK
- Open the android.jar properties that you can find in the package explorer under the Android library.
- In the Java Source Application, select the android / sdk / sources file as the external folder.
Edit: Eclipse tends to regularly check the external folder for updates. If this annoys you, you can pin the folder to .jar and then tell Eclipse to look at this jar for sources. Eclipse will no longer check for changes.
marcelj
source share