Error:Unable to start the daemonprocess. 解決

導入一個項目出現了以下錯誤:

Error:Unable to start the daemonprocess. 
This problem might be caused by incorrect configuration of the daemon. 
For example, an unrecognized jvm option is used. 

 

解決步驟:

1、修改項目中gradle.properties文件,只要添加以下一行代碼:

org.gradle.jvmargs=-Xmx512m

2、重啓Android Studio


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章