Skip to content

升级到 AGP 7.0后,因jdk 11中没有 tools.jar 导致编译失败 #112

@4dcity

Description

@4dcity

项目升级到 AGP 7.0之后,jdk也必须升级到 11,但是jdk9以后已经移除了 tools.jar
导致sync时compiler模块的这句脚本报 NullPointerException
compileOnly files(Jvm.current().getToolsJar())
不知有没有办法解决这个问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions