2014-09-19 174 views
0

當我嘗試清理/運行項目時,它顯示gradle項目刷新失敗。任何人都建議我。Android Studio中Gradle項目刷新失敗

這裏是問題:

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 http://gradle.org/docs/1.12/userguide/gradle_daemon.html 
Please read below process output to find out more: 
----------------------- 
Error occurred during initialization of VM 
Could not reserve enough space for object heap 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 
+1

它看起來像你剛用完內存。嘗試關閉一些其他軟件以釋放它。 – metter 2014-09-19 09:35:19

回答

-1

儘量做到以下幾點:

選擇「文件」的無效緩存選項,然後退出機器人工作室

中刪除你的文件夾.gradle你的主目錄並重新啓動android studio

然後重建項目。

相關問題