How to attach Android source to Eclipse?

后端 未结 3 883
[愿得一人]
[愿得一人] 2020-12-05 00:27

While trying to debug a program I wrote in Eclipse for Android, I receive an error saying there\'s no source attachment for android.jar.

<
3条回答
  •  既然无缘
    2020-12-05 00:57

    In Eclipse package explorer:

    Right click on android.jar then Maven->Donwload Sources.

    Wait a bit until the process is finished and you're done. (I am not sure if checking "Install Sources" in Android SDK Manager is a prerequisite for this, but you can try and tell us)

提交回复
热议问题