在当前工程目录中 gradle.properties 添加org.gradle.jvmargs=-XX:MaxHeapSize=256m -Xmx256mhttp://stackoverflow.com/questions/30045417/android-studio-gradle-could-not-reserve-enough-space-for-object-heap/31760855#31760855