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