Using ADT and SDK manager, attach android source code to eclipse

后端 未结 5 1119
长发绾君心
长发绾君心 2021-02-19 18:40

After installing ADT, I used SDK Manager to download the source codes for the latest android API. Now when I run the Eclipse version that was provided with the ADT, I still can\

5条回答
  •  执笔经年
    2021-02-19 19:12

    I found this for me:

    For main lib: android.jar: src: sdk/sources/android-19 doc: sdk/docs/reference/

    For support lib: android-support-v4.jar: (before this we should add android-support-v4.jar like external jar (Project Properties -> Java Build Path -> Libraries, then in Tab ‘Order and Export’ pull up this library before Android Private Libraries)) src: sdk/extras/android/support/v4/src/java doc: http://developer.android.com/reference/android/support/v4/app/package-summary.html (not sure)

提交回复
热议问题