标签:
:CordovaLib:generateDebugSources
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:CordovaLib:compileDebugJava
:CordovaLib:extractDebugAnnotations
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar
:CordovaLib:compileDebugNdk
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:packageDebugResources
:CordovaLib:bundleDebug
:prepareAndroidJustepGetContentUnspecifiedLibrary
:prepareComAndroidSupportAppcompatV72220Library
:prepareComAndroidSupportSupportV42220Library
:prepareReleaseDependencies
:compileReleaseAidl
:compileReleaseRenderscript
:generateReleaseBuildConfig
:generateReleaseAssets UP-TO-DATE
:mergeReleaseAssets
:generateReleaseResValues
:generateReleaseResources
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\res\drawable-xhdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\res\drawable-ldpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\res\drawable-hdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\res\drawable-mdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\exploded-aar\android\JustepGetContent\unspecified\res\drawable\camera_ok.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:mergeReleaseResources
:processReleaseManifest
:processReleaseResources FAILED
BUILD FAILED
Total time: 1 mins 22.193 secs
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:38: error: Error: No resource found that matches the given name (at ‘value’ with value ‘??????????’).
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:39: error: Error: No resource found that matches the given name (at ‘value’ with value ‘??????????’).
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:processReleaseResources’.
com.android.ide.common.internal.LoggedErrorException: Failed to run command:
J:\02_Wex5\WeX5_V3.4\tools\adt-sdk\build-tools\22.0.1\aapt.exe package -f –no-crunch -I J:\02_Wex5\WeX5_V3.4\tools\adt-sdk\platforms\android-22\android.jar -M J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\manifests\full\release\AndroidManifest.xml -S J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\release -A J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\assets\release -m -J J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\generated\source\r\release -F J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\resources-release.ap_ –custom-package com.hongmj.taobao -0 apk –output-text-symbols J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\symbols\release
Error Code:
1
Output:
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:38: error: Error: No resource found that matches the given name (at ‘value’ with value ‘??????????’).
J:\02_Wex5\WeX5_V3.4\model\Native\仿淘宝测试\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:39: error: Error: No resource found that matches the given name (at ‘value’ with value ‘??????????’).
Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.
J:\02_Wex5\WeX5_V3.4\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 “J:\02_Wex5\WeX5_V3.4\model\Native\浠挎窐瀹濇祴璇昞build\src\platforms\android\gradlew cdvBuildRelease -b J:\02_Wex5\WeX5_V3.4\model\Native\浠挎窐瀹濇祴璇昞build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true –offline”
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1
*ERROR*: 子任务 “exec” 执行失败。
*ERROR*: 任务 “buildAndroid” 执行失败。
*ERROR*: 执行出错:
*ERROR*: 错误信息: exec returned: 1
*ERROR*: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
标签:
原文地址:http://blog.csdn.net/hongmj/article/details/51348372