美文网首页
修改android studio查看源码的版本号

修改android studio查看源码的版本号

作者: 草蜢的逆袭 | 来源:发表于2019-01-05 22:33 被阅读9次

    C:\Users\aa.AndroidStudio3.2\config\options\jdk.table.xml

    原文件内容如下:

    <jdk version="2">
      <name value="Android API 23 Platform" />
      <type value="Android SDK" />
      <version value="java version &quot;1.8.0_152&quot;" />
      <homePath value="D:\programtools\newas\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://D:/programtools/newas/sdk/platforms/android-23/android.jar!/" type="simple" />
            <root url="file://D:/programtools/newas/sdk/platforms/android-23/data/res" type="simple" />
          </root>
        </classPath>
        <javadocPath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/docs/reference" type="simple" />
          </root>
        </javadocPath>
        <sourcePath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/sources/android-23" type="simple" />
          </root>
        </sourcePath>
      </roots>
      <additional jdk="1.8" />
    </jdk>
    
    <jdk version="2">
      <name value="Android API 27 Platform (1)" />
      <type value="Android SDK" />
      <version value="java version &quot;1.8.0_152&quot;" />
      <homePath value="D:\programtools\newas\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://D:/programtools/newas/sdk/platforms/android-27/android.jar!/" type="simple" />
            <root url="file://D:/programtools/newas/sdk/platforms/android-27/data/res" type="simple" />
          </root>
        </classPath>
        <javadocPath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/docs/reference" type="simple" />
          </root>
        </javadocPath>
        <sourcePath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/sources/android-27" type="simple" />
          </root>
        </sourcePath>
      </roots>
      <additional jdk="1.8 (1)" sdk="android-27" />
    </jdk>
    

    修改如下:

    <jdk version="2">
      <name value="Android API 27 Platform (1)" />
      <type value="Android SDK" />
      <version value="java version &quot;1.8.0_152&quot;" />
      <homePath value="D:\programtools\newas\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://D:/programtools/newas/sdk/platforms/android-27/android.jar!/" type="simple" />
            <root url="file://D:/programtools/newas/sdk/platforms/android-27/data/res" type="simple" />
          </root>
        </classPath>
        <javadocPath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/docs/reference" type="simple" />
          </root>
        </javadocPath>
        <sourcePath>
          <root type="composite">
            <root url="file://D:/programtools/newas/sdk/sources/android-23" type="simple" />
          </root>
        </sourcePath>
      </roots>
      <additional jdk="1.8 (1)" sdk="android-27" />
    </jdk>

    相关文章

      网友评论

          本文标题:修改android studio查看源码的版本号

          本文链接:https://www.haomeiwen.com/subject/lhfjrqtx.html