Unable to start the daemon process

转载请以链接形式标明出处: http://blog.csdn.net/lxk_1993/article/details/79636557
本文出自:lxk_1993的博客

最近不知道怎么的笔记本打开项目一直提示下面这个 丧心病狂 的错误。
AndroidStudio(3.0.1) jdk(1.8.0)

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/3.5/userguide/gradle_daemon.html
Please read below process output to find out more:

于是乎 开始 baidu、google、csdn、*…
找到下面几种解决方法,然而对我来说 都没用! 都没用! 都没用!
你们可以试试这些,抢救一下,有用的话评论下

  • 1、修改项目中gradle.properties文件,只要添加以下一行代码:
    org.gradle.jvmargs=-Xmx512m
    2、重启Android Studio

  • 修改项目中gradle.properties文件 (然而 MaxPermSize AndroidStudio 3.0.1已经废弃了)
    org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

  • Try deleting your .gradle from C:\Users\<username> directory and try again.
    删除Unable to start the daemon process

  • File Menu - > Invalidate Caches/ Restart->Invalidate and Restart.
    Unable to start the daemon process

  • 在下面的位置添加-Xmx512m
    Unable to start the daemon process

  • 直接重装AndroidStudio

对的,以上方法 都没用! 都没用! 都没用!

有错误日志,然而看不懂
Unable to start the daemon process

最后默默重装系统
然后
就好了…
就好了…
就好了…

Unable to start the daemon process

Unable to start the daemon process