Community
Participate
Working Groups
Tested on official android.jar and sources/android-17. Problem is not logged in problems and no feedback why it happen. Same problem in 3.8.1. What I do: 1. F3 to go to source code 2. No source code screen is open and choose attach source. 3. Choose external folder method. 4. Points to [Android path]/source/android-17 and choose OK. 5. Nothing happen still is no source code screen. Alternativly (preferences changes not save at all): 1. Project -> Properties -> Java Build Path -> Libraries. 2. Android 4.2 -> android.jar -> source attachement -> edit. 3. Choose external folder method. 4. Points to [Android path]/source/android-17 and choose OK. 5. Preferences show that source attachment is [Android path]/source/android-17. 6. Click OK to save setting. 7. Reopen Project -> Properties -> Java Build Path -> Libraries. 8. BUG: nothing in Android 4.2 -> android.jar -> source attachement - SHOULD BE: what was visible before save Android path]/source/android-17 I not allo to analyze code correctly! How to reproduce: 1. Install Eclipse. 2. Install Android SDK with sources. 3. Install Android plugin. 4. Try to F3 and Android code.
Are you able to do this on a regular Java project? I am not sure if the android classpath container overrides the default behavior
Not tested in Java regular project since not have such need :) I do small test and is possible to attach sources to "library" also invalid sources but not see Android library to test it and not know how to create it as not "external library" but "library".
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.