美文网首页android
安卓3.2编译错误

安卓3.2编译错误

作者: zl520k | 来源:发表于2019-02-25 11:04 被阅读0次

The Jack toolchain is deprecated and will not run. To enable support for Java 8 language features built into the plugin, remove 'jackOptions { ... }' from your build.gradle file, and add

android.compileOptions.sourceCompatibility 1.8

android.compileOptions.targetCompatibility 1.8

在3.2版本中,注释掉如下,就可以运行了。

defaultConfig {

//        jackOptions {

//            enabled true

//        }

    }

相关文章

网友评论

    本文标题:安卓3.2编译错误

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