Android Studio编译错误, Gradle 内存不足
错误新如下:
Configure Gradle memory settings using '-Xmx' JVM option (e.g. '-Xmx2048m'.)
全局设置下Android Studio的内存。
Settings ==> Appearance & Behavior ==> System Settings ==> Memory Settings.
三个内存设置都调大为2048M
错误新如下:
Configure Gradle memory settings using '-Xmx' JVM option (e.g. '-Xmx2048m'.)
全局设置下Android Studio的内存。
Settings ==> Appearance & Behavior ==> System Settings ==> Memory Settings.
三个内存设置都调大为2048M