Error:Unable to start the daemon process.解决
来源:互联网 发布:皇室战争电磁炮数据 编辑:程序博客网 时间:2024/04/30 10:30
导入一个项目出现了以下错误:
Error:Unable to start the daemonprocess.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
解决步骤:
1、修改项目中gradle.properties文件,只要添加以下一行代码:
org.gradle.jvmargs=-Xmx512m
2、重启Android Studio
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
还有一次还是碰到这个问题,但解决不太一样,但原理类似,就一起分享了:
作如下操作:
1、在gradle.properties中将箭头的那句代码前面加上“#”注释掉即可:
修改后:
2、最后try again或者clear project就好了。
原因:
org.gradle.jvmargs=-Xmx2048m-XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
这句话的目的是:Gradle的jvm的内存分配设置,注释掉就是使用默认或者系统配置。
- Error:Unable to start the daemon process.解决
- Error:Unable to start the daemon process.
- | Error Error initializing classpath: Unable to start the daemon process.
- android studio Error:Unable to start the daemon process
- [Android Studio ERROR]Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- Android----Error:Unable to start the daemon process:错误
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- Android studio Error:Unable to start the daemon process
- android studio 错误Error:Unable to start the daemon process.
- Error:Unable to start the daemon process.有图有真相
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- AdroidStudio Error:Unable to start the daemon process
- Android studio 报 Error:Unable to start the daemon process. 解决
- 【已解决】Unable to start the daemon process
- JS实现HTML静态页传值的方法
- 2016/8/23
- WordPress 3.6-4.5.2 Authenticated Revision History Information Disclosure
- 第九天:JAVA中的多态,抽象类和接口
- Maven项目中,将普通工程修改为web工程办法
- Error:Unable to start the daemon process.解决
- FPGA学习:VHDL设计灵活性&不同设计思路比较
- Smarty模板技术-自定义函数-1
- Word Rings POJ2949 (Bellman-ford算法,找平均值最大的环)
- centOS7开机直接进入命令界面
- 简单排序(1)
- 我的见解之hibernate(三)
- php之static后期绑定/延迟绑定
- 我的博客