07-09 The `android.dexOptions.incremental` property is deprecated and it has no effect on the bui...

1.更新Studio 后每次打开AS 总会出现如下提示:(无错但有强迫症看着不爽就消灭)

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

解决办法:

在gradle中将 
 dexOptions { 
   javaMaxHeapSize “4g” 
   incremental true  // 删除此项配置 更新之后貌似不需要再特意配置了,直接删除即可
 }  
incremental 配置 删除即可.
PS: incremental 作用是优化编译效率 默认是关闭的.

进步就是一个坑一个坑的踩过去.

你可能感兴趣的:(07-09 The `android.dexOptions.incremental` property is deprecated and it has no effect on the bui...)