|
插件安装完成
创建源代码工程:
生成源代码:
完成。
环境初始化:
开始......
生成应用环境准备:
android应用环境准备:
ios应用环境准备:
生成android应用包:
-----platforms: android context.hook: after_prepare
Running command: cmd "/s /c "H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\cordova\build.bat --debug""
ANDROID_HOME=H:\WeX5_V3.7\tools\adt-sdk
JAVA_HOME=H:\WeX5_V3.7\java\jre1.8
Running: H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\gradlew cdvBuildDebug -b H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to H:\WeX5_V3.7\tools\adt-sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_bk3c3b4koc9qlvpaezi13e08l.run(H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\build.gradle:154)
WARNING: The `android.dexOptions.incremental` property is deprecated and it has no effect on the build process.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to H:\WeX5_V3.7\tools\adt-sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to H:\WeX5_V3.7\tools\adt-sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2530Library
:prepareComAndroidSupportAppcompatV72530Library
:preDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportMultidex101Library
:prepareComAndroidSupportSupportCompat2530Library
:prepareComAndroidSupportSupportCoreUi2530Library
:prepareComAndroidSupportSupportCoreUtils2530Library
:prepareComAndroidSupportSupportFragment2530Library
:prepareComAndroidSupportSupportMediaCompat2530Library
:prepareComAndroidSupportSupportV42530Library
:prepareComAndroidSupportSupportVectorDrawable2530Library
:prepareComLegendmoheMavenPermissionutil02Library
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild 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
:CordovaLib:prepareComAndroidSupportAnimatedVectorDrawable2530Library
:CordovaLib:prepareComAndroidSupportAppcompatV72530Library
:CordovaLib:prepareComAndroidSupportSupportCompat2530Library
:CordovaLib:prepareComAndroidSupportSupportCoreUi2530Library
:CordovaLib:prepareComAndroidSupportSupportCoreUtils2530Library
:CordovaLib:prepareComAndroidSupportSupportFragment2530Library
:CordovaLib:prepareComAndroidSupportSupportMediaCompat2530Library
:CordovaLib:prepareComAndroidSupportSupportV42530Library
:CordovaLib:prepareComAndroidSupportSupportVectorDrawable2530Library
:CordovaLib:prepareComLegendmoheMavenPermissionutil02Library
:JustepGetContent:preBuild UP-TO-DATE
:JustepGetContent:preReleaseBuild 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:prepareComAndroidSupportAnimatedVectorDrawable2530Library
:JustepGetContent:prepareComAndroidSupportAppcompatV72530Library
:JustepGetContent:prepareComAndroidSupportSupportCompat2530Library
:JustepGetContent:prepareComAndroidSupportSupportCoreUi2530Library
:JustepGetContent:prepareComAndroidSupportSupportCoreUtils2530Library
:JustepGetContent:prepareComAndroidSupportSupportFragment2530Library
:JustepGetContent:prepareComAndroidSupportSupportMediaCompat2530Library
:JustepGetContent:prepareComAndroidSupportSupportV42530Library
:JustepGetContent:prepareComAndroidSupportSupportVectorDrawable2530Library
:JustepGetContent:prepareComLegendmoheMavenPermissionutil02Library
:JustepGetContent:prepareReleaseDependencies
:JustepGetContent:compileReleaseAidl
:JustepGetContent:compileReleaseNdk UP-TO-DATE
:JustepGetContent:compileLint
:JustepGetContent:copyReleaseLint UP-TO-DATE
:JustepGetContent:compileReleaseRenderscript
:JustepGetContent:generateReleaseBuildConfig
:JustepGetContent:generateReleaseResValues
:JustepGetContent:generateReleaseResources
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':JustepGetContent:mergeReleaseResources'.
> -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
:JustepGetContent:mergeReleaseResources FAILED
BUILD FAILED
Total time: 10.526 secs
C:\Users\ADMINI~1\AppData\Local\Temp\81359d65-7cdc-4014-bc30-6ea47ea5b9e8\pack.xml:91: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
You may not have the required environment or OS to build this project
H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\gradlew cdvBuildDebug -b H:\WeX5_V3.7\model\Native\wai07\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true"
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
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)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html |
|