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

QQ登录

只需一步,快速开始

查看: 2975|回复: 2

[处理中3] 打包异常 BUILD FAILED

[复制链接]

2

主题

2

帖子

6

积分

新手上路

Rank: 1

积分
6
QQ
发表于 2016-4-13 11:53:38 | 显示全部楼层 |阅读模式
   -setup:
        [echo] Project Name: X5
     [gettype] Project Type: Android Library
   
   -pre-clean:
   
   clean:
   
   BUILD SUCCESSFUL
   Total time: 0 seconds
   
   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 Y:\SDTs\JAVA\wex5\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: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\libs
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\res
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\rsObj
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\rsLibs
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\gen
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\classes
       [mkdir] Created dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\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] Warning: R.java.d modified in the future.
       [javac] Warning: org\apache\cordova\BuildConfig.java modified in the future.
       [javac] Compiling 95 source files to Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\classes
       [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
       [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
        [echo] Creating library output jar file...
         [jar] Building jar: Y:\SDTs\JAVA\wex5\model\Native\美越美\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: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\res
      [crunch] To destination dir: Y:\SDTs\JAVA\wex5\model\Native\美越美\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: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\CordovaLib\bin\build.prop
   [propertyfile] Updating property file: Y:\SDTs\JAVA\wex5\model\Native\美越美\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...
        [aapt] Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\res\xml\config.xml:11: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
        [aapt]
        [aapt] Y:\SDTs\JAVA\wex5\model\Native\美越美\build\src\platforms\android\res\xml\config.xml:12: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
        [aapt]
   
   BUILD FAILED
   Y:\SDTs\JAVA\wex5\tools\adt-sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
   Y:\SDTs\JAVA\wex5\tools\adt-sdk\tools\ant\build.xml:694: null returned: 1
   
   Total time: 4 seconds
   
   Y:\SDTs\JAVA\wex5\model\Native\缇庤秺缇嶾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,Y:\SDTs\JAVA\wex5\model\Native\缇庤秺缇嶾build\src\platforms\android\build.xml
   Error: Y:\SDTs\JAVA\wex5\model\Native\缇庤秺缇嶾build\src\platforms\android\cordova\build.bat: Command failed with exit code 8
       at ChildProcess.whenDone (Y:\SDTs\JAVA\wex5\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
发表于 2016-4-13 14:12:34 | 显示全部楼层
应该是打包的某个cordova插件 需要填写参数!而你却没有填写参数导致的!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

12

主题

2627

帖子

2866

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2866
发表于 2016-4-13 16:56:04 | 显示全部楼层
很有可能是微信插件的参数不全导致的
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 10:21 , Processed in 0.056348 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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