安卓3.2编译错误
2019-02-25 本文已影响0人
zl520k
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
// }
}