|
创建源代码工程:
android应用环境准备:
ios应用环境准备:
生成android应用包:
Running command: cmd "/s /c "F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
ANDROID_HOME=F:\WeX5_V3.4/tools/adt-sdk
JAVA_HOME=F:\WeX5_V3.4/java/jre1.8
Running: F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\gradlew cdvBuildRelease -b F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
:preBuild
:preReleaseBuild
:checkReleaseManifest
:CordovaLib:compileLint
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:preBuild
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:preDebugBuild
:CordovaLib:preDebugTestBuild
:JustepGetContent:compileLint
:JustepGetContent:copyReleaseLint UP-TO-DATE
:JustepGetContent:preBuild
:JustepGetContent:preReleaseBuild
:JustepGetContent:checkReleaseManifest
:JustepGetContent:preDebugBuild
:JustepGetContent:preDebugTestBuild
:JustepGetContent:prepareComAndroidSupportAppcompatV72220Library
:JustepGetContent:prepareComAndroidSupportSupportV42220Library
:JustepGetContent:prepareReleaseDependencies
:JustepGetContent:compileReleaseAidl
:JustepGetContent:compileReleaseRenderscript
:JustepGetContent:generateReleaseBuildConfig
:JustepGetContent:generateReleaseAssets UP-TO-DATE
:JustepGetContent:mergeReleaseAssets
:JustepGetContent:generateReleaseResValues
:JustepGetContent:generateReleaseResources
:JustepGetContent:mergeReleaseResources
:JustepGetContent:processReleaseManifest
:JustepGetContent:processReleaseResources
:JustepGetContent:generateReleaseSources
:JustepGetContent:compileReleaseJava
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:JustepGetContent:extractReleaseAnnotations
:JustepGetContent:mergeReleaseProguardFiles
:JustepGetContent:processReleaseJavaRes UP-TO-DATE
:JustepGetContent:packageReleaseJar
:JustepGetContent:compileReleaseNdk
:JustepGetContent:packageReleaseJniLibs UP-TO-DATE
:JustepGetContent:packageReleaseLocalJar UP-TO-DATE
:JustepGetContent:packageReleaseRenderscript UP-TO-DATE
:JustepGetContent:packageReleaseResources
:JustepGetContent:bundleRelease
:CordovaLib:prepareAndroidJustepGetContentUnspecifiedLibrary
:CordovaLib:prepareComAndroidSupportAppcompatV72220Library
:CordovaLib:prepareComAndroidSupportSupportV42220Library
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:mergeReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:CordovaLib:compileReleaseJava
:CordovaLib:extractReleaseAnnotations
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:packageReleaseJar
:CordovaLib:compileReleaseNdk
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:packageReleaseResources
:CordovaLib:bundleRelease
:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
:preDebugBuild
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:mergeDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
: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
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\res\drawable-xhdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\res\drawable-ldpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\res\drawable-hdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\res\drawable-mdpi\icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
F:\WeX5_V3.4\model\Native\takeout\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: 39.277 secs
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:41: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:42: 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:
F:\WeX5_V3.4\tools\adt-sdk\build-tools\22.0.1\aapt.exe package -f --no-crunch -I F:\WeX5_V3.4\tools\adt-sdk\platforms\android-22\android.jar -M F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\manifests\full\release\AndroidManifest.xml -S F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\release -A F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\assets\release -m -J F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\generated\source\r\release -F F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\resources-release.ap_ --custom-package com.justep.2 -0 apk --output-text-symbols F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\symbols\release
Error Code:
1
Output:
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:41: error: Error: No resource found that matches the given name (at 'value' with value '??????????').
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build\intermediates\res\release\xml\config.xml:42: 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.
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
F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\gradlew cdvBuildRelease -b F:\WeX5_V3.4\model\Native\takeout\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
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 |
|