How can I enable javadoc for the Android support library?

前端 未结 3 1820
南笙
南笙 2020-12-02 19:47

When using the Android support library for compatibility and try to view the javadoc for, say, FragmentTransaction, I get the following error because there is n

3条回答
  •  甜味超标
    2020-12-02 20:30

    Edited: Refer the following post :

    How to attach javadoc or sources to jars in libs folder?

    Added:

    Under \android-sdk\extras\android\support\v4 directory of your Android SDK installation you will find the sources for android-support-v4.jar (i.e. the src directory) and you can create a jar file of the same using jar command.

    Hope it helps :)

    Added:

    Check this post https://android-review.googlesource.com/#/c/35702/

    according to this

    Create a file named android-support-v4.jar.properties in the libs directory of your project and add following line into it.

    src:

    I tried this solution and it worked for me. Enjoy :)

提交回复
热议问题