Android Studio一直 Fetching Documentation...

Android查看私有库android-spport-v4.jar & android-support-v7-appcompat.jar源码

https://www.cnblogs.com/stupid-bird/p/4614490.html

2. Android-support-v7-appcompat.jar查看源文件
Android-support-v7-appcompat.jar查看源文件的方法和上面同样道理,新建Android-support-v7-appcompat.jar.properties文件,添加src=D:\\DevAPP\\Android\\android-sdk\\sources\\android-22 即可。没错,他们的src路径是相同的,不用怀疑。


 

AS

C:\Users\MM\.AndroidStudio3.1\config\options\jdk.table.xml

IDEA

C:\Users\MM\.IntelliJIdea2018.1\config\options\jdk.table.xml

文档提示:

Android Studio -> Settings -> General -> √ Show quick documentaion on mouse move Delay(ms) 改成200

--- 这样文档显示出来速度就会很快,秒现

 

    <jdk version="2">
      <name value="Android API 27 Platform" />
      <type value="Android SDK" />
      <version value="java version &quot;1.8.0_162&quot;" />
      <homePath value="E:/android-sdk" />
      <roots>
        <annotationsPath>
          <root type="composite">
            <root url="jar://$APPLICATION_HOME_DIR$/plugins/android/lib/androidAnnotations.jar!/" type="simple" />
          </root>
        </annotationsPath>
        <classPath>
          <root type="composite">
            <root url="jar://E:/android-sdk/platforms/android-27/android.jar!/" type="simple" />
            <root url="file://E:/android-sdk/platforms/android-27/data/res" type="simple" />
          </root>
        </classPath>
        <javadocPath>
          <root type="composite">
            <root url="file://E:/android-sdk/docs/reference" type="simple" />
          </root>
        </javadocPath>
        <sourcePath>
          <root type="composite">
            <root url="file://E:/android-sdk/sources/android-27" type="simple" />
          </root>
        </sourcePath>
      </roots>
      <additional jdk="JDK1.8" sdk="android-27" />
    </jdk>

主要设置的代码如下两句:

        <javadocPath>
          <root type="composite">
            <root url="file://E:/android-sdk/docs/reference" type="simple" />
          </root>
        </javadocPath>
        <sourcePath>
          <root type="composite">
            <root url="file://E:/android-sdk/sources/android-27" type="simple" />
          </root>
        </sourcePath>

 

posted @ 2018-04-27 09:38  petercao  阅读(1040)  评论(1编辑  收藏  举报