Android Studio 解决 Error:Unable to start the daemon process.

异常

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:
-----------------------

解决方法

  1. 可能是由于杀毒软件等卸载或者禁止了daemon进程,因此,重启电脑可以解决该问题.
  2. 进入Chapter 6. The Gradle Daemon进行配置,其主要讲述C:\Users\Administrator.gradle路径下(其中Administrator是自己的用户名),新建gradle.properties文件,并写入org.gradle.daemon=true
点赞