(已解决)Android Studio JVM报错解决方案

异常:

Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap

解决方案:

在gradle.properties中添加或者修改为:

org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m

你可能感兴趣的:(Android某不知名BUG,android,android,studio,jvm,解决方案)