您的位置:首页 > 产品设计 > UI/UE

Error:Jack is required to support java 8 language features.

2017-11-01 16:07 507 查看
Error:Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.

根据问题的描述,你可能需要enable Jack!

android {
...

compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
...
jackOptions {
enabled true
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐