|
1、WIN10,下载最新的WEX5_3.6
2、解压,运行,在NATIVE里找到外卖,右键生成本地APP
3、选中输入源码工程,比如工程名:源码工程。点完成,生成成功。
4、在NATIVE里找到源码,右键生成本地APP。
5、生成,报错。
详细错误代码
- 开始......
-
- 保存配置信息:
-
- init
-
- 编译UI资源:
- 开始......
-
- [JUSTEP_HOME in UIServer]: D:\WeX5
- 2016-11-17 10:40:59 参数1: D:\WeX5/runtime/UIServer
- 2016-11-17 10:40:59 参数2: /UI2/takeout
- 2016-11-17 10:40:59 参数3: D:/WeX5/model/Native/源码/www/takeout
- 2016-11-17 10:40:59 参数4:
- 2016-11-17 10:40:59 参数5:
- 2016-11-17 10:40:59 参数6: /UI2/takeout/index.w
- 2016-11-17 10:40:59 参数7: 2
- 2016-11-17 10:40:59 参数8: v-2y2aae-zh_CN-
- [JUSTEP_HOME in UIServer]: D:\WeX5
- 2016-11-17 10:40:59 参数0: D:\WeX5/runtime/UIServer
- 2016-11-17 10:40:59 参数1: /UI2/takeout
- 2016-11-17 10:40:59 参数2: D:/WeX5/model/Native/源码/www/takeout
- 2016-11-17 10:40:59 参数3:
- 2016-11-17 10:40:59 参数4:
- 2016-11-17 10:40:59 参数5: /UI2/takeout/index.w
- 2016-11-17 10:40:59 参数6: 2
- 2016-11-17 10:40:59 参数7: v-2y2aae-zh_CN-
- 2016-11-17 10:40:59 输出目录:D:\WeX5\model\Native\源码\www\takeout
- 2016-11-17 10:40:59 开始清空输出目录...
- 2016-11-17 10:40:59 清空输出目录成功
- 2016-11-17 10:40:59 开始编译...
- 2016-11-17 10:41:00 std html: /UI2/takeout/intro.html
- 2016-11-17 10:41:00 std html: /UI2/takeout/intro.html--end
- 2016-11-17 10:41:00 std html: /UI2/takeout/map.html
- 2016-11-17 10:41:00 std html: /UI2/takeout/map.html--end
- 2016-11-17 10:41:00 开始编译WINDOW文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:00 开始-WINDOW生成中间文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/window/server ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/window/server
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/model/server ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/model/server
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/panel/server ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/common/server ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/resources ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/resources
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/common/server
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/panel/server
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/titleBar/server ...
- 2016-11-17 10:41:00 加载模块:/UI2/system/components/justep/titleBar/server
- 2016-11-17 10:41:00 结束-WINDOW生成中间文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:00 开始-中间文件生成缓存文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:01 结束-中间文件生成缓存文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:01 结束编译WINDOW文件: /UI2/takeout/mapActivity.w
- 2016-11-17 10:41:01 开始编译WINDOW文件: /UI2/takeout/index.w
- 2016-11-17 10:41:01 开始-WINDOW生成中间文件: /UI2/takeout/index.w
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/data/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/data/server
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/windowDialog/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/windowDialog/server
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/contents/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/contents/server
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/list/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/list/server
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/select/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/select/server
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/button/server ...
- 2016-11-17 10:41:01 加载模块:/UI2/system/components/justep/button/server
- 2016-11-17 10:41:01 结束-WINDOW生成中间文件: /UI2/takeout/index.w
- 2016-11-17 10:41:01 开始-中间文件生成缓存文件: /UI2/takeout/index.w
- 2016-11-17 10:41:02 结束-中间文件生成缓存文件: /UI2/takeout/index.w
- 2016-11-17 10:41:02 结束编译WINDOW文件: /UI2/takeout/index.w
- 2016-11-17 10:41:04 开始编译WINDOW文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:04 开始-WINDOW生成中间文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:04 结束-WINDOW生成中间文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:04 开始-中间文件生成缓存文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:05 结束-中间文件生成缓存文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:05 结束编译WINDOW文件: /UI2/system/components/justep/bmap/bmapActivity.w
- 2016-11-17 10:41:05 编译Window数:3
- 2016-11-17 10:41:05 编译Window成功数:3
- 2016-11-17 10:41:05 编译Window失败数:0
- 2016-11-17 10:41:05 编译成功
- 2016-11-17 10:41:05 开始复制资源...
- 2016-11-17 10:41:06 复制资源成功
- 2016-11-17 10:41:06 开始生成首页...
- 2016-11-17 10:41:06 生成首页成功
- 2016-11-17 10:41:06 cordova plugin: cordova-plugin-device,cordova-plugin-app-version,com.justep.cordova.plugin.baidulocation,cordova-plugin-keyboard,cordova-plugin-spinner-dialog,com.justep.cordova.plugin.weixin.v3,com.justep.cordova.plugin.alipay,com.justep.cordova.plugin.bmap,cordova-plugin-geolocation,com.justep.cordova.plugin.unionpay,cordova-plugin-x-toast,cordova-plugin-inappbrowser,cordova-plugin-appavailability,cn.jpush.phonegap.JPushPlugin,
- 编译UI资源:
-
- 完成。
-
- init
-
- 开始......
-
- 生成应用环境准备:
-
- 复制模版工程:
-
- 复制工程:
-
- 复制WWW资源:
-
- 更新工程信息:
- ****ERROR****: 子任务 "updateSource" 执行失败。
- ****ERROR****: 任务 "updateProject" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: C:\Users\ADMINI~1\AppData\Local\Temp\af07cdf3-b790-47ca-94a4-4d7633c88a75\genSource.xml:104: updateSource returned: 1
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
- C:\Users\ADMINI~1\AppData\Local\Temp\af07cdf3-b790-47ca-94a4-4d7633c88a75\genSource.xml:104: C:\Users\ADMINI~1\AppData\Local\Temp\af07cdf3-b790-47ca-94a4-4d7633c88a75\genSource.xml:104: updateSource returned: 1
- at com.justep.tools.ant.task.app.UpdateSourceTask.execute(Unknown Source)
- 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)
- Caused by: C:\Users\ADMINI~1\AppData\Local\Temp\af07cdf3-b790-47ca-94a4-4d7633c88a75\genSource.xml:104: updateSource returned: 1
- at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
- ... 13 more
- ****ERROR****: 子任务 "java" 执行失败。
- ****ERROR****: 任务 "prepareSource" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: Java returned: -3
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码
查阅 genSource.xml:104 行代码如下
- <!-- setProperty: iosCompileType, iosPassword -->
- <updateSource justepHome="${justepHome}" targetDir="${buildSrcDir}">
- <env key="NODE_PATH" file="${nodeBin}" />
- <env key="PATH" path="${justepHome}/node:${envPath}" />
- </updateSource>
复制代码
我用同样的方式操作V3.5版。V3.2版。V3.2.1版,均未报错。唯独3.6一直报错,源码版根本生成不了APP。
如果不用源码版,所有创建的都能成功生成APP。
有没高人给指点下。
|
|