码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2018-12-07 23:21:27      阅读:382      评论:0      收藏:0      [点我收藏+]

标签:roi   方法   RoCE   rop   虚拟机   prope   col   pre   EAP   

编译报错: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 process.

标签:roi   方法   RoCE   rop   虚拟机   prope   col   pre   EAP   

原文地址:https://www.cnblogs.com/zhangqie/p/10081061.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!