Android Studio: How to attach javadoc

前端 未结 10 1903
一向
一向 2020-12-04 09:47

It might be very trivial question, But I couldn\'t find any option to attach javadoc/source with local jar dependencies (in libs folder) in android project. I can\'t believe

10条回答
  •  心在旅途
    2020-12-04 10:19

    I found a solution just now since I can't find any other solution for a long time.

    suppose:

    1. your lib name is: libxxx.jar
    2. javadoc name is docs.zip

    under folder .idea/libraries, you can find libxxx.xml. replace JAVADOC with

    
      
    
    

    then ctrl+alt+y to sync the project. (Don't do "Sync Project with Gradle files", it will delete the changes)

提交回复
热议问题