1.在自己项目的gradle中加入
android{
...
dexOptions{
maxProcessCount4// this is the default value
javaMaxHeapSize"2g"
}
}
2.在项目的中修改gradle.properties
org.gradle.jvmargs=-Xmx3072m
over!
1.在自己项目的gradle中加入
android{
...
dexOptions{
maxProcessCount4// this is the default value
javaMaxHeapSize"2g"
}
}
2.在项目的中修改gradle.properties
org.gradle.jvmargs=-Xmx3072m
over!