首页 > 移动平台 > 详细

Android Studio 中 gradle 构建 堆栈空间不足

时间:2017-07-17 20:44:10      阅读:538      评论:0      收藏:0      [点我收藏+]
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.

解决办法:

Configure -> Settings -> Gradle

Gradle VM Options 项 设置为:

-Xmx512m

 

Android Studio 中 gradle 构建 堆栈空间不足

原文:http://www.cnblogs.com/zhujiabin/p/7197346.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!