ionic build android -release运行报错,Could not reserve enough space for 2097152KB object heap,检查了应该有足够的空间和内存。JRE的“Default VM Arguments”配置参数值:-Xmx1024M -Xms1024M -XX:MaxPermSize=1024M,运行仍然失败!

add to body class: platform-android

ANDROID_HOME=C:\Users\cheng\AppData\Local\Android\sdk

JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_112

Subproject Path: CordovaLib

Starting a new Gradle Daemon for this build (subsequent builds will be faster).

FAILURE: Build failed with an exception.

* What went wrong:

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.

Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html

Please read the following process output to find out more:

-----------------------

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Error: cmd: Command failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

* What went wrong:

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.

Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html

Please read the following process output to find out more:

-----------------------

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

ionic build android release,ionic build android -release运行报错相关推荐

  1. Android Studio 升级 gradle:3.6.0 报错:Entry name 'xxx-xxx.xml' collided

    Android Studio 升级 gradle:3.6.0 报错:Entry name 'xxx-xxx.xml' collided 删除掉目录中所有的build文件夹,重新Sync编译

  2. Android P使用pm install安装apk报错

    Android P使用pm install安装apk报错 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:objec ...

  3. Android运行报错Manifest merger failed : uses-sdk:minSdkVersion 26 cannot be smaller than version 28 decl

    项目运行报错Manifest merger failed : uses-sdk:minSdkVersion 26 cannot be smaller than version 28 declared ...

  4. Android Notification通知RemoteView布局使用ConstraintLayout报错

    Android Notification通知RemoteView布局使用ConstraintLayout报错:inflate error ? Notification的自定义布局是RemoteView ...

  5. 【错误记录】Android Studio 导入外部 so 动态库报错 ( java.lang.UnsatisfiedLinkError | 指定 APK 打包动态库的 CPU 架构 )

    文章目录 一.报错信息 二.解决方案 ( 指定 APK 打包动态库的 CPU 架构 ) 一.报错信息 外部引用 so 动态库 , 如果只有一个 armeabi-v7a 的动态库 , 那么如果在 arm ...

  6. android asset jar,android离线打包 可以使用,但总是报错 android_asset/null

    按照官网的教程配置了离线打包的项目 https://nativesupport.dcloud.net.cn/AppDocs/usesdk/android 但是总是报错: I/OpenGLRendere ...

  7. android工程导入后useradapter类有报错,Android常见错误

    1.Unable to resolve target 'android-2' 安装低版本的api,再default.properties 这个文件中把target=android-2 改成 targe ...

  8. 转载:Android Studio 3.1.2 新项目报错 AAPT2 error: check logs for details (Gradle 3.1.2)

    转载自 https://blog.csdn.net/u011618035/article/details/80574645 原本好好的项目,突然有一天打开就开始报错AAPT2 error: check ...

  9. android ndk开发中初始化char数组报错问题

    Android Studio报错: error: constant expression evaluates to -14 which cannot be narrowed to type 'char ...

最新文章

  1. SSD(Single shot multibox detector)目标检测模型架构和设计细节分析
  2. R语言使用compareGroups包绘制单因素分析表实战:基于survival包的colon数据集
  3. 在移动端禁用长按选中文本功能
  4. MaperReduce实验
  5. mysql存储过程删除重复记录
  6. 关于oracleblob字段的用到
  7. Python程序输入一个字符串并查找总数的大写和小写字母
  8. Python机器学习:SVM008SVM思想解决回归问题
  9. java systemoutprint_java – 为什么System.out.print()不起作用?
  10. FreeMarker(七)Html转义
  11. ISO/IEC 20000 信息技术(IT)服务管理体系及全套最新标准资料
  12. GD32实战16__备份域
  13. MFC中调用WPF教程
  14. [转bbs]师大女生VS川大女生
  15. 什么是微波信号发生器
  16. 计算机网络的分类 ppt,计算机网络的分类.ppt
  17. Linux下Oracle开机自启动
  18. 京东2021校园招聘笔试(8.27编程部分)——数据开发工程师(数列变换A了9%)
  19. 通过颜色来生成一个纯色图片
  20. 2014年24如何改变球段魔尺视频教程

热门文章

  1. Linux入门之一Linux 系统启动
  2. Java7中的ForkJoin并发框架初探(中)——JDK中实现简要分析
  3. ssh登录到esxi机器中后开关虚拟机
  4. Qt3D学习之键盘交互
  5. 解决org.hibernate.QueryException illegal attempt to dereference collection 异常错误
  6. 安卓自定义控件之设计自己的提示dialog
  7. 无法启动windows安全中心服务
  8. java编译不报错但运行啥都没_java编译时与运行时概念与实例详解
  9. 使用Confluence如何输出一份结构清晰 可读性高的测试文档?
  10. 孪生神经网络_驾驶习惯也能识人?基于时空孪生神经网络的轨迹识别