美文网首页
Decomplied.class file,bytecode v

Decomplied.class file,bytecode v

作者: pdog18 | 来源:发表于2017-07-25 10:26 被阅读63次
Decomplied.class file,bytecode version:52.0(Java 8)
Sources for 'Android API 25 Platform' not found.
  1. 找到Android SDK 路径
    Settings 搜索Android SDK,找到Android SDK Location,记一下。
    C:\Users\pdog\AppData\Local\Android\Sdk (每个人的不同)

  2. 找到对应版本的jdk.table.xml文件
    我的电脑里有三个版本,所以有三个,我需要修改的是.AndroidStudioPreview3.0\config\options

    jdktablexm.png
  3. 找到对应版本的Platform ,例如Android API 25 Platform,找到节点下的<sourcePath> ,

<sourcePath>
        <root type="composite" />
  </sourcePath>

修改为

<sourcePath>
     <root type="composite" >
            <root type="simple" url="file://C:/Users/pdog/AppData/Local/Android/Sdk/sources/android-25" />
     </root>
</sourcePath>
  1. 重启 AS

相关文章

网友评论

      本文标题:Decomplied.class file,bytecode v

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