|
本帖最后由 zhoubincibn 于 2020-10-22 17:28 编辑
编译UI2资源:
…省略若干没用内容……
编译UI资源:
完成。
………………
增加插件:
使用到的插件: [plugin.http.request, cordova-plugin-inappbrowser, com.justep.cordova.plugin.weixin.v3, cordova-plugin-x-socialsharing, cordova-plugin-network-information, cordova-plugin-app-version, com.justep.cordova.plugin.alipay, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.engine.tencent, cordova-plugin-wkwebview-engine, cordova-plugin-device, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-x-socialsharing, cordova-plugin-app-version, cordova-plugin-spinner-dialog, cordova-plugin-keyboard, com.justep.cordova.plugin.weixin.v3, cordova-plugin-sim, com.justep.cordova.plugin.alipay, com.justep.cordova.plugin.security.mob, cordova-plugin-network-information]
开始安装插件......
开始准备插件参数......
插件 "plugin.http.request" 参数如下:
插件 "cordova-plugin-inappbrowser" 参数如下:
插件 "cordova-plugin-file" 参数如下:
插件 "com.justep.cordova.plugin.AFNetworking" 参数如下:
插件 "cordova-plugin-http" 参数如下:
插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
插件 "cordova-plugin-x-socialsharing" 参数如下:
插件 "cordova-plugin-network-information" 参数如下:
插件 "cordova-plugin-app-version" 参数如下:
插件 "com.justep.cordova.plugin.alipay" 参数如下:
插件 "cordova-plugin-splashscreen" 参数如下:
插件 "cordova-plugin-app-preferences" 参数如下:
插件 "cordova-plugin-file-transfer" 参数如下:
插件 "cordova-plugin-zip" 参数如下:
插件 "cordova-plugin-x-toast" 参数如下:
插件 "com.justep.cordova.plugin.app.utils" 参数如下:
插件 "com.justep.cordova.plugin.engine.tencent" 参数如下:
插件 "cordova-plugin-wkwebview-engine" 参数如下:
插件 "cordova-plugin-device" 参数如下:
插件 "cordova-plugin-spinner-dialog" 参数如下:
插件 "cordova-plugin-keyboard" 参数如下:
插件 "cordova-plugin-sim" 参数如下:
插件 "com.justep.cordova.plugin.security.mob" 参数如下:
………
完成。
环境初始化:
开始......
生成应用环境准备:
android应用环境准备:
ios应用环境准备:
生成android应用包:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
args.nofetch undefined
android project rename compelete!!!!!!
-----platforms: android context.hook: after_prepare
ANDROID_HOME=E:\ProjectMobile\WeX5_V3.9\tools\adt-sdk
JAVA_HOME=E:\ProjectMobile\WeX5_V3.9\java\jre1.8
Parallel execution with configuration on demand is an incubating feature.
:wrapper
BUILD SUCCESSFUL
Total time: 5.479 secs
Subproject Path: CordovaLib
Subproject Path: JustepGetContent
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 E:\ProjectMobile\WeX5_V3.9\tools\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_4xt963tc2kp2k7m8kb45rz1ty.run(E:\ProjectMobile\WeX5_V3.9\model\Native\锟介画频锟斤拷\build\src\platforms\android\build.gradle:149)
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 E:\ProjectMobile\WeX5_V3.9\tools\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
FAILURE: Build failed with an exception.
* Where:
Build file 'E:\ProjectMobile\WeX5_V3.9\model\Native\锟介画频锟斤拷\build\src\platforms\android\CordovaLib\build.gradle' line: 82
* What went wrong:
A problem occurred evaluating project ':CordovaLib'.
> build_4mhpgvkg8ihy65ln5va6it0dq$_run_closure3$_closure13$_closure14$_closure15
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILED
Total time: 12.986 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* Where:
Build file 'E:\ProjectMobile\WeX5_V3.9\model\Native\锟介画频锟斤拷\build\src\platforms\android\CordovaLib\build.gradle' line: 82
* What went wrong:
A problem occurred evaluating project ':CordovaLib'.
> build_4mhpgvkg8ihy65ln5va6it0dq$_run_closure3$_closure13$_closure14$_closure15
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
C:\Users\ADMINI~1\AppData\Local\Temp\1\b4769ab8-8321-42c2-9fd7-9fc64b835e49\pack.xml:91: 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)
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
#######
win server 2008 下打包虽然有关于 ndk 的错误提示,但是还是可以成功打包。
最近升级到win10 就不可以了。
|
|