AS:android studio Unable to start the daemon process

今天用着电脑,突然蓝屏了,然后重启电脑,Android studio 就出现这个错误:

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 athttp://gradle.org/docs/1.8/userguide/gradle_daemon.html 
Please read below process output to find out more:

看网上都是说

File->Settings->Compiler

将VM Options配置为一个较小的值,如-Xmx512m。 

我是手动修改了C:\Users\Administrator\.gradle下的gradle.properties

org.gradle.jvmargs=-Xmx512m

然后再重启电脑,才OK

猜你喜欢

转载自blog.csdn.net/liu362732346/article/details/84856362