This element has no attached source and the Javadoc could not be found in the attached Javadoc

前端 未结 1 411
暗喜
暗喜 2021-01-21 17:37

I started developing on Android and I\'m encountering some problems with eclipse:

there is image:

\"enter

1条回答
  •  梦毁少年i
    2021-01-21 18:28

    You need to download and attach the source code.

    1) Open the SDK Manager and download "Sources for Android SDK" under the latest or appropriate API.

    2) Ctrl+Click any Android class or method then click the "Attach Source Code" button in the window that appears. Next select "External Folder" and navigate to \sources\android-xx.

    • is the folder that holds your SDK
    • xx refers to your appropriate API

    0 讨论(0)
提交回复
热议问题