在线建站培训
您的位置: 魔客吧站长论坛建站交流查看内容

****ERROR****: 子任务 "exec" 执行失败。

bluelook 发表于 7 天前 | 栏目:建站交流
大神们帮帮忙。快疯了。



错误信息:






开始......

保存配置信息:

编译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:wex5modelNative姘存灉宸存墡buildsrcplatformsandroid
E:wex5modelNative姘存灉宸存墡buildsrcplatformsandroid
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:wex5modelNative姘存灉宸存墡buildsrcplatformsandroidcordovabuild.bat --release
Buildfile: E:wex5modelNative水果巴扎buildsrcplatformsandroidbuild.xml
Buildfile: E:wex5modelNative水果巴扎buildsrcplatformsandroidbuild.xml

-set-mode-check:

-set-release-mode:

-check-env:
[checkenv] Android SDK Tools Revision 24.3.1
[checkenv] Installed at E:wex5toolsadt-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:wex5toolsadt-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:wex5toolsadt-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:wex5modelNative水果巴扎buildsrcplatformsandroidbin
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidbinres
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidbinrsObj
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidbinrsLibs
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidgen
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidbinclasses
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidbindexedLibs
[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:wex5toolsadt-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:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLiblibs
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbin
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinres
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinrsObj
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinrsLibs
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibgen
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinclasses
[mkdir] Created dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbindexedLibs
[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:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinclasses
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[echo] Creating library output jar file...
[jar] Building jar: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinclasses.jar

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode...

-crunch:
[crunch] Crunching PNG Files in source dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibres
[crunch] To destination dir: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinres
[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:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinbuild.prop
[propertyfile] Updating property file: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinbuild.prop
[propertyfile] Updating property file: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinbuild.prop
[propertyfile] Updating property file: E:wex5modelNative水果巴扎buildsrcplatformsandroidCordovaLibbinbuild.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:wex5modelNative水果巴扎buildsrcplatformsandroidresxmlconfig.xml:11: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
[aapt]
[aapt] E:wex5modelNative水果巴扎buildsrcplatformsandroidresxmlconfig.xml:12: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
[aapt]

BUILD FAILED
E:wex5toolsadt-sdktoolsantbuild.xml:649: The following error occurred while executing this line:
E:wex5toolsadt-sdktoolsantbuild.xml:694: null returned: 1

Total time: 9 seconds

E:wex5modelNative姘存灉宸存墡buildsrcplatformsandroidcordovanode_modulesqq.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,release,-f,E:wex5modelNative姘存灉宸存墡buildsrcplatformsandroidbuild.xml
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1

kouhii
kouhii 发表于 7 天前
参考:http://bbs.wex5.com/forum.php?mo ... 2&pid=165207966