Android Studio Gradle 项目“无法启动守护进程/VM 的初始化"

Android Studio Gradle project quot;Unable to start the daemon process /initialization of VMquot;(Android Studio Gradle 项目“无法启动守护进程/VM 的初始化)
本文介绍了Android Studio Gradle 项目“无法启动守护进程/VM 的初始化"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio (Beta) 0.8.4 版本
操作系统版本:Windows 8
Java JRE/JDK 版本:1.8.0_11

Version of Android Studio (Beta) 0.8.4
OS version: Windows 8
Java JRE/JDK version: 1.8.0_11

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
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

推荐答案

解决方案奏效:

    1.在android studio中打开projects gradle.properties 文件
    1.Open the projects gradle.properties file in android studio

    2.在文件末尾添加这一行org.gradle.jvmargs=-Xmx1024m并保存文件
    2.Added this line at end of file org.gradle.jvmargs=-Xmx1024m & Save the file

    3.关闭并重新打开项目
    3.Close & reopen the project

这篇关于Android Studio Gradle 项目“无法启动守护进程/VM 的初始化"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How can create a producer using Spring Cloud Kafka Stream 3.1(如何使用Spring Cloud Kafka Stream 3.1创建制片人)
Insert a position in a linked list Java(在链接列表中插入位置Java)
Did I write this constructor properly?(我是否正确地编写了这个构造函数?)
Head value set to null but tail value still gets displayed(Head值设置为空,但仍显示Tail值)
printing nodes from a singly-linked list(打印单链接列表中的节点)
Control namespace prefixes in web services?(控制Web服务中的命名空间前缀?)