|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
打包外卖案例,然后报错,报错内容如下:
开始...... 保存配置信息: 编译UI资源: 清除编译环境: 复制模版工程: 复制工程: 复制插件: 加密UI资源: 更新工程信息: 增加插件: 使用到的插件: [org.apache.cordova.splashscreen, org.apache.cordova.splashscreen, me.apla.cordova.plugin.app.preferences, com.justep.cordova.plugin.baidulocation, com.justep.cordova.plugin.unionpay, org.apache.cordova.geolocation, cn.jpush.phonegap.JPushPlugin, com.justep.cordova.plugin.alipay, com.justep.cordova.plugin.weixin.v3, org.apache.cordova.device] 开始准备插件参数...... 插件 "com.justep.cordova.plugin.weixin.v3" 参数如下: weixin_partner_id:?????????? weixin_api_key:?????????? 插件 "com.justep.cordova.plugin.unionpay" 参数如下: unionpay_mmode:00 插件参数准备完成 开始安装插件...... 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 "com.justep.cordova.plugin.baidulocation" for android Installing "com.justep.cordova.plugin.baidulocation" for ios Installing "com.justep.cordova.plugin.unionpay" for android cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\cordova\version"), continuing anyways. Installing "com.justep.cordova.plugin.unionpay" for ios cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\ios\cordova\version"), continuing anyways. Installing "org.apache.cordova.geolocation" for android Installing "org.apache.cordova.geolocation" for ios cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\cordova\version"), continuing anyways. Installing "cn.jpush.phonegap.JPushPlugin" for android cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\ios\cordova\version"), continuing anyways. Installing "cn.jpush.phonegap.JPushPlugin" for ios Installing "com.justep.cordova.plugin.alipay" for android cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\cordova\version"), continuing anyways. Installing "com.justep.cordova.plugin.alipay" for ios cordova version check failed ("H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\ios\cordova\version"), continuing anyways. Installing "com.justep.cordova.plugin.weixin.v3" for android H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android Installing "com.justep.cordova.plugin.weixin.v3" for ios Installing "org.apache.cordova.device" for android Installing "org.apache.cordova.device" for ios 插件安装完成 创建源代码工程: android应用环境准备: ios应用环境准备: 生成android应用包: Running command: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\cordova\build.bat --debug Buildfile: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\build.xml Buildfile: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\build.xml -set-mode-check: -set-debug-files: -check-env: -check-env: [checkenv] Android SDK Tools Revision 24.3.1 [checkenv] Installed at H:\BeX5_V3.3\tools\adt-sdk -setup: [checkenv] Android SDK Tools Revision 24.3.1 [checkenv] Installed at H:\BeX5_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... nodeps: -check-env: [checkenv] Android SDK Tools Revision 24.3.1 [checkenv] Installed at H:\BeX5_V3.3\tools\adt-sdk -setup: [echo] Project Name: X5 [gettype] Project Type: Android Library -pre-clean: clean: [gettarget] Project Target: Android 5.0.1 [gettarget] API level: 21 BUILD SUCCESSFUL Total time: 2 seconds [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\bin [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\bin\res [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\bin\rsObj [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\bin\rsLibs [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\gen [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\bin\classes [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\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 'debug'... nodeps: -set-mode-check: -set-debug-files: -check-env: [checkenv] Android SDK Tools Revision 24.3.1 [checkenv] Installed at H:\BeX5_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: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\libs [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\res [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\rsObj [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\rsLibs [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\gen [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\classes [mkdir] Created dir: H:\BeX5_V3.3\model\Native\waimai\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:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\classes [javac] 注: 某些输入文件使用或覆盖了已过时的 API。 [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [echo] Creating library output jar file... [jar] Building jar: H:\BeX5_V3.3\model\Native\waimai\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:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\res [crunch] To destination dir: H:\BeX5_V3.3\model\Native\waimai\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: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\build.prop [propertyfile] Updating property file: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\build.prop [propertyfile] Updating property file: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\CordovaLib\bin\build.prop [propertyfile] Updating property file: H:\BeX5_V3.3\model\Native\waimai\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] H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\res\xml\config.xml:29: error: Error: No resource found that matches the given name (at 'value' with value '??????????'). [aapt] [aapt] H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\res\xml\config.xml:30: error: Error: No resource found that matches the given name (at 'value' with value '??????????'). [aapt] BUILD FAILED H:\BeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:649: The following error occurred while executing this line: H:\BeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:694: null returned: 1 Total time: 9 seconds H:\BeX5_V3.3\model\Native\waimai\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,H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\build.xml Error: H:\BeX5_V3.3\model\Native\waimai\build\src\platforms\android\cordova\build.bat: Command failed with exit code 8 at ChildProcess.whenDone (H:\BeX5_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
也没有在http://bbs.wex5.com/thread-82002-1-1.html中找到相应的解决方案,请问我这个问题是什么原因引起的呢?
|
|