码迷,mamicode.com
首页 > 移动开发 > 详细

Android Studio 1.5运行问题

时间:2015-12-11 22:18:12      阅读:851      评论:0      收藏:0      [点我收藏+]

标签:

Error:Unable to start the daemon process: could not reserve enough space for object heap.
Please assign more memory to Gradle in the project‘s gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
<em>org.gradle.jvmargs=-Xmx1024m</em>
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle‘s configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java‘s heap size</a>

 

技术分享
大概说的就是无法启动进程,分配的空间不足!!

对于一个菜鸟来说,百度是我唯一的希望了,我开心的百度了一下,发现并没有如此的解决方案,有 我也看不懂!!

错误:无法启动守护进程:不能为对象堆预留足够的空间。
请在项目的分配更多的内存Gradle Gradle。属性文件。
例如,下面的线,在它。属性文件,将最大Java堆大小设置为1024 MB。

 

技术分享

技术分享

 

 

 

da

百度了半天也解决不了问题,气死我了,难道我这个屌丝这辈子注定用eclipse?

 

技术分享

 

最后找了半天 找到了解决真的解决方案!!

技术分享

 

技术分享

 

Error:Unable to start the daemon process: could not reserve enough space for object heap.
Please assign more memory to Gradle in the project‘s gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
<em>org.gradle.jvmargs=-Xmx1024m</em>
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle‘s configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java‘s heap size</a>

 

Android Studio 1.5运行问题

标签:

原文地址:http://www.cnblogs.com/xiaojunzi/p/5040142.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!