ZPY博客

android studio项目报错:Error:Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8

android studio项目报错:

 Error:Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8

解决方法:
build.gradle文件的defaultConfig中添加一下就可以了..