首页 > 代码库 > Error:Unable to start the daemon process.解决

Error:Unable to start the daemon process.解决

导入一个项目出现了以下错误:

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


Error:Unable to start the daemon process.解决