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

Posted 切切歆语

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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"
    }

 




以上是关于The `android.dexOptions.incremental` property is deprecated and it has no effect on the build proces的主要内容,如果未能解决你的问题,请参考以下文章

simplify the design of the hardware forming the interface between the processor and thememory system

Word2010 Error:The name in the end tag of the element must match the element type in the start tag.

Word2010 Error:The name in the end tag of the element must match the element type in the start tag.

the major advances since the birth of the computer

The more... the more句型

刷新CollectionView 报错the item height must be less that the height of the UICollectionView minus the s(