Android Studio Gradle项目“无法启动守护进程/虚拟机初始化”

问题Android studio报错: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.

 

 

解决方案:

  • 打开项目的gradle.properties文件,
  • 更改为:org.gradle.jvmargs=-Xmx512m
  • 问题解决

 

posted @ 2020-12-31 10:20  wangheq  阅读(331)  评论(0编辑  收藏  举报