无法启动守护进程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/4.1/userguide/gradle_daemon.html

Please read the following process output to find out more:

提示信息 是配置问题,你检查自己的配置是不是有问题

贴多点信息这个只能根据 这几句话去看,配置问题

Android Studio+Gradle安装完毕后无法正常创建工程,显示
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 http://gradle.org/docs/1.8/userguide/gradle_daemon.html
Please read below process output to find out more:
在stackoverflow上找到解决方法:
Android Studio默认为Gradle daemon process分配的heap size过大(windows平台下默认最大heap size为:75% of total physical memory up to 1 GB),所以容易造成空间不足无法启动的问题。把空间配置稍小一点即可。
在Android Studio中进入
File->Settings->Compiler
将VM Options配置为一个较小的值,如-Xmx512m。
重启Android Studio问题解决。

这个是因为防火墙拦截了,这种情况要关防火墙和卸载杀毒软件,但还是有可以会拦截,所以最好的方法是重装系统。

http://blog.csdn.net/like_lgg/article/details/79140064 楼主可以试试这个方法 配置文件我也没有成功 添加了一个系统变量才解决的