|
本帖最后由 muc411 于 2016-2-7 17:54 编辑
大神们帮帮忙。快疯了。
错误信息:
开始......
保存配置信息:
编译UI资源:
清除编译环境:
复制模版工程:
复制工程:
复制插件:
加密UI资源:
更新工程信息:
增加插件:
使用到的插件: [org.apache.cordova.splashscreen, org.apache.cordova.splashscreen, me.apla.cordova.plugin.app.preferences, com.justep.cordova.plugin.weixin.v3, org.apache.cordova.device]
开始准备插件参数......
插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
weixin_partner_id:??????????
weixin_api_key:??????????
插件参数准备完成
开始安装插件......
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.weixin.v3" for android
E:\wex5\model\Native\姘存灉宸存墡\build\src\platforms\android
E:\wex5\model\Native\姘存灉宸存墡\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: E:\wex5\model\Native\姘存灉宸存墡\build\src\platforms\android\cordova\build.bat --release
Buildfile: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\build.xml
Buildfile: E:\wex5\model\Native\水果巴扎\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 E:\wex5\tools\adt-sdk
-setup:
[echo] Project Name: X5
[gettype] Project Type: Application
-release-obfuscation-check:
-pre-clean:
clean:
[echo] proguard.config is ${proguard.config}
-pre-build:
-check-env:
[checkenv] Android SDK Tools Revision 24.3.1
[checkenv] Installed at E:\wex5\tools\adt-sdk
-setup:
[echo] Project Name: X5
[gettype] Project Type: Application
-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 E:\wex5\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: 3 seconds
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\bin
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\bin\res
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\bin\rsObj
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\bin\rsLibs
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\gen
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\bin\classes
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\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 E:\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: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\libs
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\res
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\rsObj
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\rsLibs
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\gen
[mkdir] Created dir: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\classes
[mkdir] Created dir: E:\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] Compiling 95 source files to E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\classes
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[echo] Creating library output jar file...
[jar] Building jar: E:\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: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\res
[crunch] To destination dir: E:\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: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\build.prop
[propertyfile] Updating property file: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\build.prop
[propertyfile] Updating property file: E:\wex5\model\Native\水果巴扎\build\src\platforms\android\CordovaLib\bin\build.prop
[propertyfile] Updating property file: E:\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] E:\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] E:\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
E:\wex5\tools\adt-sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
E:\wex5\tools\adt-sdk\tools\ant\build.xml:694: null returned: 1
Total time: 9 seconds
E:\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,E:\wex5\model\Native\姘存灉宸存墡\build\src\platforms\android\build.xml
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
|
|