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

QQ登录

只需一步,快速开始

查看: 1231|回复: 4

[结贴] 求大神帮助,我已经快被逼疯了!

[复制链接]

3

主题

9

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
发表于 2016-2-2 21:20:23 | 显示全部楼层 |阅读模式
   
   
   -setup:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk
   
   -setup:
        [echo] Project Name: X5
        [echo] Project Name: X5
     [gettype] Project Type: Application
     [gettype] Project Type: Application
   
   -pre-clean:
   
   clean:
   
   -set-debug-mode:
   
   -debug-obfuscation-check:
   
   -pre-build:
   
   -build-setup:
   [getlibpath] Library dependencies:
   [getlibpath]
   [getlibpath] ------------------
   [getlibpath] Ordered libraries:
   [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: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\res
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\rsObj
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\rsLibs
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\gen
   
   nodeps:
   
   -check-env:
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\classes
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\dexedLibs
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk
        [echo] ----------
   
   -setup:
        [echo] Resolving Dependencies for X5...
        [echo] Project Name: X5
     [gettype] Project Type: Android Library
   
   -pre-clean:
   
   clean:
   [dependency] Library dependencies:
   [dependency]
   [dependency] ------------------
   [dependency] Ordered libraries:
   [dependency]
   [dependency] ------------------
   
   BUILD SUCCESSFUL
   Total time: 0 seconds
        [echo] ----------
        [echo] Building Libraries with 'debug'...
   
   nodeps:
   
   -set-mode-check:
   
   -set-debug-files:
   
   -check-env:
    [checkenv] Android SDK Tools Revision 24.3.1
    [checkenv] Installed at E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk
   
   -setup:
        [echo] Project Name: X5
     [gettype] Project Type: Android Library
   
   -set-debug-mode:
   
   -debug-obfuscation-check:
   
   -pre-build:
   
   -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: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\libs
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\res
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\rsObj
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\rsLibs
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\gen
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes
       [mkdir] Created dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\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 E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
        [echo] Creating library output jar file...
         [jar] Building jar: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\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: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\res
      [crunch] To destination dir: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\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: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\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...
        [echo] ----------
        [echo] Handling BuildConfig class...
   [buildconfig] Generating BuildConfig class.
   
   -pre-compile:
   
   -compile:
       [javac] Compiling 6 source files to E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\classes
       [javac] 注: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\src\com\justep\hello\X5.java使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
   
   -post-compile:
   
   -obfuscate:
   
   -dex:
         [dex] input: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\classes
         [dex] input: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes.jar
         [dex] Pre-Dexing E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes.jar -> classes-e4e8f00b8d4994abb24e1bc09d61c1a3.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
   E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
   E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
   E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
   E:\wex5\WeX5_V3.3\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:283: null returned: 1
   
   Total time: 3 seconds
   
   E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\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,E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\build.xml
   Error: E:\wex5\WeX5_V3.3\WeX5_V3.3\model\Native\hello\build\src\platforms\android\cordova\build.bat: Command failed with exit code 8
       at ChildProcess.whenDone (E:\wex5\WeX5_V3.3\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****: 如不能确定具体问题,可参考常见问题: ht
发表于 2016-2-3 09:43:09 | 显示全部楼层
在这里找下原因:http://bbs.wex5.com/forum.php?mo ... &extra=page%3D1
可能是你的机器内存不足,或者设置了环境变量,或者是杀毒软件引起的!
你自己试试原因吧!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 1 反对 0

使用道具 举报

3

主题

9

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
 楼主| 发表于 2016-2-2 21:21:29 | 显示全部楼层
不管我怎么搞都无法生成文件,被报过有病毒!
回复 支持 反对

使用道具 举报

3

主题

9

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
 楼主| 发表于 2016-2-7 13:41:08 | 显示全部楼层
liangyongfei 发表于 2016-2-3 09:43
在这里找下原因:http://bbs.wex5.com/forum.php?mod=viewthread&tid=82002&extra=page%3D1
可能是你的 ...

谢谢
回复 支持 反对

使用道具 举报

5

主题

6

帖子

14

积分

新手上路

Rank: 1

积分
14
QQ
发表于 2016-2-7 17:50:55 | 显示全部楼层
楼主怎么解决的?我也遇到这样的问题,快疯了!
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-19 21:39 , Processed in 0.090146 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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