How to make Android Studio download dependencies sources and javadoc?

前端 未结 5 577
花落未央
花落未央 2020-12-02 15:21

I have already checked this post: How to download dependency sources for Gradle project in IDEA?

But it didn\'t work for me. Maybe it is because they are referring t

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 15:52

    Unfortunately I cannot comment with my score, so:

    Although this isn't an answer, if you use the 'eclipse' plugin in Gradle, you can run

    gradle eclipseClasspath
    

    And it will download all the sources and, I believe, Javadoc and create a .classpath with links to their locations.

    Then, at least, you will have the sources and javadoc to reference, which I assume you can then reference in IntelliJ.

提交回复
热议问题