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

QQ登录

只需一步,快速开始

查看: 655|回复: 1

[暂结贴(7天未回复)] 3.2.1 打包错误

[复制链接]

15

主题

54

帖子

298

积分

中级会员

Rank: 3Rank: 3

积分
298
QQ
发表于 2016-3-25 14:29:01 | 显示全部楼层 |阅读模式
  [echo] ----------
        [echo] Handling Resources...
        [aapt] Generating resource IDs...
        [echo] ----------
        [echo] Handling BuildConfig class...
   [buildconfig] Generating BuildConfig class.
   
   -pre-compile:
   
   -compile:
       [javac] Compiling 95 source files to D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
        [echo] Creating library output jar file...
         [jar] Building jar: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\classes.jar
   
   -post-compile:
   
   -obfuscate:
   
   -dex:
        [echo] Library project: do not convert bytecode...
   
   -crunch:
      [crunch] Crunching PNG Files in source dir: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\res
      [crunch] To destination dir: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\res
      [crunch] Crunched 0 PNG files to update cache
   
   -package-resources:
        [echo] Library project: do not package resources...
   
   -package:
        [echo] Library project: do not package apk...
   
   -post-package:
   
   -do-debug:
        [echo] Library project: do not create apk...
   [propertyfile] Creating new property file: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\build.prop
   
   -post-build:
   
   debug:
   
   -code-gen:
   [mergemanifest] Merging AndroidManifest files into one.
   [mergemanifest] Manifest merger disabled. Using project manifest only.
        [echo] Handling aidl files...
        [aidl] No AIDL files to compile.
        [echo] ----------
        [echo] Handling RenderScript files...
        [echo] ----------
        [echo] Handling Resources...
        [aapt] Generating resource IDs...
        [aapt] warning: string 'menu_settings' has no default translation.
        [echo] ----------
        [echo] Handling BuildConfig class...
   [buildconfig] Generating BuildConfig class.
   
   -pre-compile:
   
   -compile:
       [javac] Compiling 24 source files to D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
       [javac] 注: 某些输入文件使用了未经检查或不安全的操作。
       [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
   
   -post-compile:
   
   -obfuscate:
   
   -dex:
         [dex] input: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\bin\classes
         [dex] input: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\classes.jar
         [dex] input: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\libs\com.google.zxing.client.android.captureactivity.jar
         [dex] Pre-Dexing D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\CordovaLib\bin\classes.jar -> classes-fa778af992ed781e7e9c2a6d59a7e1d4.jar
          [dx] Error occurred during initialization of VM
          [dx] Could not reserve enough space for object heap
          [dx] Error: Could not create the Java Virtual Machine.
          [dx] Error: A fatal exception has occurred. Program will exit.
   
   BUILD FAILED
   D:\x5\WeX5_V3.2.1\tools\adt-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
   D:\x5\WeX5_V3.2.1\tools\adt-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
   D:\x5\WeX5_V3.2.1\tools\adt-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
   D:\x5\WeX5_V3.2.1\tools\adt-sdk\tools\ant\build.xml:283: null returned: 1
   
   Total time: 22 seconds
   
   D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                             ^
   Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\build.xml
   Error: D:\x5\WeX5_V3.2.1\model\Native\ITAPP\build\src\platforms\android\cordova\build.bat: Command failed with exit code 8
       at ChildProcess.whenDone (D:\x5\WeX5_V3.2.1\tools\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
       at ChildProcess.EventEmitter.emit (events.js:98:17)
       at maybeClose (child_process.js:743:16)
       at Process.ChildProcess._handle.onexit (child_process.js:810:5)
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR**** 错误信息: exec returned: 1
****ERROR**** 调用栈:
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        at Pack.execTask(Pack.java:51)
        at Pack.access$000(Pack.java:25)
        at Pack$1.run(Pack.java:95)
        at java.lang.Thread.run(Thread.java:745)

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35938
发表于 2016-3-25 15:19:23 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-11 22:03 , Processed in 0.071770 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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