修改android studio查看源码的版本号
2019-01-05 本文已影响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 "1.8.0_152"" />
<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 "1.8.0_152"" />
<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 "1.8.0_152"" />
<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>