2014-09-19 94 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

然后重建项目。

相关问题