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

QQ登录

只需一步,快速开始

查看: 1700|回复: 3

[处理中] 3.3打包最近错误 帖子超过1000字 2楼接着看

[复制链接]

3

主题

7

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
发表于 2016-4-23 20:58:23 | 显示全部楼层 |阅读模式
  增加插件:
   使用到的插件: [org.apache.cordova.splashscreen, org.apache.cordova.splashscreen, me.apla.cordova.plugin.app.preferences, org.apache.cordova.inappbrowser, uk.co.whiteoctober.cordova.appversion]
   开始准备插件参数......
   插件参数准备完成
   开始安装插件......
   Installing "org.apache.cordova.splashscreen" for android
   Installing "org.apache.cordova.splashscreen" for ios
   Installing "me.apla.cordova.plugin.app.preferences" for android
   Installing "me.apla.cordova.plugin.app.preferences" for ios
   Installing "org.apache.cordova.inappbrowser" for android
   cordova version check failed ("H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\cordova\version"), continuing anyways.
   cordova version check failed ("H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\ios\cordova\version"), continuing anyways.
   Installing "org.apache.cordova.inappbrowser" for ios
   cordova version check failed ("H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\cordova\version"), continuing anyways.
   Installing "uk.co.whiteoctober.cordova.appversion" for android
   cordova version check failed ("H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\ios\cordova\version"), continuing anyways.
   Installing "uk.co.whiteoctober.cordova.appversion" for ios
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   
生成android应用包:
   Running command: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\cordova\build.bat --release
   Buildfile: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\build.xml
   Buildfile: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\build.xml
   
   -set-mode-check:
   
   -set-release-mode:
   
   -check-env:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at H:\WeX5_V3.3\tools\adt-sdk
   
   -setup:
        [echo] Project Name: X5
   
   -release-obfuscation-check:
     [gettype] Project Type: Application
        [echo] proguard.config is ${proguard.config}
   
   -pre-build:
   
   -check-env:
   
   -pre-clean:
   
   clean:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at H:\WeX5_V3.3\tools\adt-sdk
   -setup:
        [echo] Project Name: X5
     [gettype] Project Type: Application
   
   -build-setup:
   [getlibpath] Library dependencies:
   [getlibpath]
   [getlibpath] ------------------
   [getlibpath] Ordered libraries:
   
   nodeps:
   
   -check-env:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at H:\WeX5_V3.3\tools\adt-sdk
   
   -setup:
        [echo] Project Name: X5
     [gettype] Project Type: Android Library
   
   -pre-clean:  
   clean:
   [getbuildtools] Using latest Build Tools: 22.0.1
        [echo] Resolving Build Target for X5...
   
   BUILD SUCCESSFUL
   Total time: 8 seconds
   [gettarget] Project Target:   Android 5.0.1
   [gettarget] API level:        21
        [echo] ----------
        [echo] Creating output directories if needed...
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\res
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\rsObj
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\rsLibs
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\gen
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\classes
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\dexedLibs
        [echo] ----------
        [echo] Resolving Dependencies for X5...
   [dependency] Library dependencies:
   [dependency]
   [dependency] ------------------
   [dependency] Ordered libraries:
   [dependency]
   [dependency] ------------------
        [echo] ----------
        [echo] Building Libraries with 'release'...
   nodeps:
   
   -set-mode-check:
   
   -set-release-mode:
   
   -release-obfuscation-check:
        [echo] proguard.config is ${proguard.config}
   
   -pre-build:
   -check-env:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at H:\WeX5_V3.3\tools\adt-sdk
   
   -setup:
        [echo] Project Name: X5
     [gettype] Project Type: Android Library
   
   -build-setup:
   [getbuildtools] Using latest Build Tools: 22.0.1
        [echo] Resolving Build Target for X5...
   [gettarget] Project Target:   Android 5.0.1
   [gettarget] API level:        21
        [echo] ----------
        [echo] Creating output directories if needed...
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\libs
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\res
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\rsObj
       [mkdir] Created dir:

3

主题

7

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
 楼主| 发表于 2016-4-23 20:58:40 | 显示全部楼层
H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\rsLibs
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\gen
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\classes
       [mkdir] Created dir: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\dexedLibs
        [echo] ----------
        [echo] Resolving Dependencies for X5...
   [dependency] Library dependencies:
   [dependency] No Libraries
   [dependency]
   [dependency] ------------------
   
   -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...
        [echo] ----------
        [echo] Handling BuildConfig class...
   [buildconfig] Generating BuildConfig class.
   
   -pre-compile:
   
   -compile:
       [javac] Compiling 95 source files to H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
        [echo] Creating library output jar file...
         [jar] Building jar: H:\WeX5_V3.3\model\Native\youxiao\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: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\res
      [crunch] To destination dir: H:\WeX5_V3.3\model\Native\youxiao\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:
   
   -release-prompt-for-password:
   
   -release-nosign:
        [echo]
   [propertyfile] Creating new property file: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\build.prop
   
   -release-sign:
   
   -post-build:
   
   release:
   
   -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...
        [echo] ----------
        [echo] Handling BuildConfig class...
   [buildconfig] Generating BuildConfig class.
   
   -pre-compile:
   
   -compile:
       [javac] Compiling 10 source files to H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   
   -post-compile:
   
   -obfuscate:
   
   -dex:
         [dex] input: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\bin\classes
         [dex] input: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\classes.jar
         [dex] Pre-Dexing H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\classes.jar -> classes-ada4f8d1b7503960d3d69ff45a421e60.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
   H:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
   H:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
   H:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
   H:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:283: null returned: 1
   
   Total time: 25 seconds
   
   H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                             ^
   Error code 1 for command: cmd with args: /s,/c,ant,release,-f,H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\build.xml
   Error: H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\cordova\build.bat: Command failed with exit code 8
       at ChildProcess.whenDone (H:\WeX5_V3.3\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****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

3

主题

7

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
 楼主| 发表于 2016-4-23 20:59:30 | 显示全部楼层
求抓紧时间解决  急急急
回复 支持 反对

使用道具 举报

发表于 2016-4-29 18:00:50 | 显示全部楼层
zhuohj 发表于 2016-4-23 20:58
H:\WeX5_V3.3\model\Native\youxiao\build\src\platforms\android\CordovaLib\bin\rsLibs
       [mkdir] C ...

看上去是这个原因!
http://bbs.wex5.com/forum.php?mo ... 2&pid=165192095
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 03:08 , Processed in 0.057471 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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