起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1633|回复: 1

[处理中3] 打包app报错

[复制链接]

226

主题

740

帖子

2370

积分

金牌会员

Rank: 6Rank: 6

积分
2370
发表于 2017-6-19 18:13:24 | 显示全部楼层 |阅读模式
本帖最后由 renchunjia 于 2017-6-19 18:14 编辑

开始......   保存配置信息:   init   编译UI资源:   开始......     
生成android应用包:
      Running command: cmd "/s /c ""G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\cordova\build.bat" --debug --gradleArg=--offline""
      ANDROID_HOME=G:\BeX5_V3.6\tools\adt-sdk
      JAVA_HOME=G:\BeX5_V3.6\java\jre1.8
      Running: G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\gradlew cdvBuildDebug -b G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
      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.10/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 object heap
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
      
      G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c ""G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\gradlew" cdvBuildDebug -b "G:\BeX5_V3.6\model\Native\ updateApp\build\src\platforms\android\build.gradle" -Dorg.gradle.daemon=true --offline"
      Error: cmd: Command failed with exit code 1
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\ADMINI~1\AppData\Local\Temp\1a82a7d0-1718-4ae0-969b-22d6a023a5ef\pack.xml:88: exec returned: 1
发表于 2017-6-20 09:14:28 | 显示全部楼层
http://docs.wex5.com/setup-wex5-jvm/

应该是内存不足
内存设置大一些试试
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-9-24 18:25 , Processed in 0.059015 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表