1.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:
-----------------------
解決方法
- 可能是由於殺毒軟件等卸載或者禁止了daemon進程,因此,重啓電腦可以解決該問題.
- 進入Chapter 6. The Gradle Daemon進行配置,其主要講述C:\Users\Administrator.gradle路徑下(其中Administrator是自己的用戶名),新建gradle.properties文件,並寫入
org.gradle.daemon=true
特注:若上無法解決試試
gradle.properties文件內設置
org.gradle.jvmargs=-Xmx512m 也可試試特注:若上無法解決試試
將安裝C盤的.gradle目錄刪除掉,不要擔心刪除會有什麼問題。大膽的刪!.。