ionic cordova run android 报Unable to start the daemon process的解决办法
2017-11-17 23:57
681 查看
在导入ionic的混合app项目之后,运行ionic cordova run android命令进行编译出现了如下异常:
办法1:(试了之后没有解决)
在操作系统当前用户的.gradle文件夹下:C:\Users\Administrator\.gradle 新增gradle.properties文件,我这里是没有,我就新增。
在文件中添加如下配置信息:
办法2:(解决)
unable to start the daemon process ...... Could not reserve enough space for 2097152KB object heap
系统内存不够用,创建VM失败。查询网上的解决办法:
办法1:(试了之后没有解决)在操作系统当前用户的.gradle文件夹下:C:\Users\Administrator\.gradle 新增gradle.properties文件,我这里是没有,我就新增。
在文件中添加如下配置信息:
开始->控制面板->系统->高级设置->环境变量->系统变量
新建变量: 变量名: _JAVA_OPTIONS 变量值: -Xmx512M
相关文章推荐
- cordova build android 打包编译时报错,错误为unable to start the daemon process ......
- 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 daemonprocess. 解决
- AndroidStudio Unable to start the daemon process(无法启动Gradle守护进程)
- Unable to start the daemon process已解决
- Error:Unable to start the daemon process.解决
- Android Studio Gradle project sync failed,Gradle sync failed: 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出现Unable to start the daemon process问题
- Android studio 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:错误
- Error:Unable to start the daemon process. 解决
- 解决Androidstudio:Unable to start the daemon process: could not reserve enough space for object heap