参考原文:http://blog.csdn.net/dong19900415/article/details/52858034
android studio升级后报的错
Warning:Theandroid.dexOptions.incremental
property is deprecated and it has no effect on the build process.
在gradle中将
dexOptions {
javaMaxHeapSize “4g”
incremental true
}
删除就好!