Android Studio: How to attach javadoc

前端 未结 10 1837
一向
一向 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:33

    There is a solution, This procedure take place through terminal ,

    I have tested solution in MAC OS.

    1) Move to your project folder

    2) ls -al (to show hidden files)

    3) Move to .idea folder , Command : cd .idea

    4) Move to libraries folder , Command : cd libraries/

    5) Now you can see list of all xml files for your libs or jars. Edit it like , vi open androidasync_2_1_7.xml

    6) In the editor screen , For inserting

    Press i 
    

    Now you see tag we have to provide a path here like,

    
      
    
    

    For exiting

    Press Esc
    
        :wq //for exiting and saving
        :q! //for exiting without saving
    

    7) Restart Android studio (Sometime it needed also sync gradle).

提交回复
热议问题