|
生成android应用包:
Running command: cmd "/s /c "D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\cordova\build.bat --debug --gradleArg=--offline""
ANDROID_HOME=D:\WeX5.3.6.2\tools\adt-sdk
JAVA_HOME=D:\WeX5.3.6.2\java\jre1.8
Running: D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\gradlew cdvBuildDebug -b D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:preDebugAndroidTestBuild UP-TO-DATE
:CordovaLib:preDebugUnitTestBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:preReleaseUnitTestBuild UP-TO-DATE
:JustepGetContent:preBuild UP-TO-DATE
:JustepGetContent:preReleaseBuild UP-TO-DATE
:JustepGetContent:compileReleaseNdk UP-TO-DATE
:JustepGetContent:compileLint
:JustepGetContent:copyReleaseLint UP-TO-DATE
:JustepGetContent:checkReleaseManifest
:JustepGetContent:preDebugAndroidTestBuild UP-TO-DATE
:JustepGetContent:preDebugBuild UP-TO-DATE
:JustepGetContent:preDebugUnitTestBuild UP-TO-DATE
:JustepGetContent:preReleaseUnitTestBuild UP-TO-DATE
: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
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:JustepGetContent:compileReleaseJavaWithJavac
注: D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:JustepGetContent:extractReleaseAnnotations
:JustepGetContent:mergeReleaseProguardFiles
:JustepGetContent:packageReleaseRenderscript UP-TO-DATE
:JustepGetContent:packageReleaseResources
:JustepGetContent:processReleaseJavaRes UP-TO-DATE
:JustepGetContent:transformResourcesWithMergeJavaResForRelease
:JustepGetContent:transformClassesAndResourcesWithSyncLibJarsForRelease
:JustepGetContent:mergeReleaseJniLibFolders
:JustepGetContent:transformNative_libsWithMergeJniLibsForRelease
:JustepGetContent:transformNative_libsWithSyncJniLibsForRelease
:JustepGetContent:bundleRelease
:CordovaLib:prepareAndroidJustepGetContentUnspecifiedLibrary
:CordovaLib:prepareComAndroidSupportAppcompatV72220Library
:CordovaLib:prepareComAndroidSupportSupportV42220Library
: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:compileDebugJavaWithJavac
:CordovaLib:extractDebugAnnotations
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:packageDebugResources
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:prepareAndroidCordovaLibUnspecifiedDebugLibrary
:preReleaseBuild UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:checkReleaseManifest
: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:compileReleaseJavaWithJavac
:CordovaLib:extractReleaseAnnotations
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareAndroidJustepGetContentUnspecifiedLibrary
:prepareComAndroidSupportAppcompatV72220Library
:prepareComAndroidSupportSupportV42220Library
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources FAILEDFAILURE: Build failed with an exception.
BUILD FAILED
Total time: 23.182 secs
* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\WeX5.3.6.2\tools\adt-sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Users\TOMGUO~1\AppData\Local\Temp\96088610-1ec5-4d77-b456-6055812358ff\pack.xml:88: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348) ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456) You may not have the required environment or OS to build this project
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\cordova\node_modules\q\q.js:126 at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
throw e;
^
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
Error code 1 for command: cmd with args: /s /c "D:\WeX5.3.6.2\model\Native\sanai\build\src\platforms\android\gradlew cdvBuildDebug -b D:\WeX5.3.6.2\model\Native\sanai\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://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html |
|