How to attach source to android.jar

前端 未结 7 738
故里飘歌
故里飘歌 2020-12-04 07:17

I am new to Android. I am working in the Windows OS with the Eclipse IDE. My simple application has a spinner that populates a list from database column. When I click on th

7条回答
  •  情书的邮戳
    2020-12-04 07:55

    This is now really easy!

    Go to Window->Android SDK Manager and install "Sources for Android SDK".

    Now try to control-click some Android identify, you will get the usual "no source attached" page. Click "Attach Source" and get the option to select an external folder.

    Now browse to /home/me/android-sdks/sources/android-16 (or wherever your SDK is installed; this is the default), and hit ok.

    It should think for a moment and then display the source! Yeay!

提交回复
热议问题