Ionic Android Build失败:无法启动守护程序进程 [英] Ionic Android Build failed : Unable to start the daemon process

查看:160
本文介绍了Ionic Android Build失败:无法启动守护程序进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我正在运行离子构建android --release
i得到错误

when i'm running ionic build android --release i get an error

Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

有谁知道修复?

推荐答案

我通过添加新的系统变量名称来获得解决方案:_JAVA_OPTIONS 值:-Xmx512M

I got the solution by adding a new system variable name : _JAVA_OPTIONS and value : -Xmx512M

这篇关于Ionic Android Build失败:无法启动守护程序进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆