The `android.dexOptions.incremental` property is deprecated and it has no effect on the build proces

【The `android.dexOptions.incremental` property is deprecated and it has no effect on the build proces】男儿欲遂平生志,六经勤向窗前读。这篇文章主要讲述The `android.dexOptions.incremental` property is deprecated and it has no effect on the build proces相关的知识,希望能为你提供帮助。
编译报错:The android.dexOptions.incremental property is deprecated and it has no effect on the build process.
android.dexOptions.incremental属性已被弃用,它对构建过程没有影响。
处理方法:app的build.gradle修改



去掉    incremental true 


//设置虚拟机堆内存空间大小,避免在编译期间OOM dexOptions { //incremental true javaMaxHeapSize "4g" }

 




    推荐阅读