安卓3.2编译错误

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编译错误)