起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: liangshaohua

[分享] App打包常见报错

  [复制链接]

0

主题

7

帖子

25

积分

新手上路

Rank: 1

积分
25
QQ
发表于 2016-9-6 14:19:35 | 显示全部楼层
** BUILD FAILED **
   
   
   The following build commands failed:
           Check dependencies
   (1 failure)
   ERROR building one of the platforms: Error: /Applications/WeX5_V3.5-mac/model/Native/帮你修/build/src/platforms/ios/cordova/build: Command failed with exit code 2
   You may not have the required environment or OS to build this project
   Error code 65 for command: xcodebuild with args: -xcconfig,/Applications/WeX5_V3.5-mac/model/Native/帮你修/build/src/platforms/ios/cordova/build-release.xcconfig,-project,帮你修.xcodeproj,ARCHS=armv7 arm64,-target,帮你修,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Applications/WeX5_V3.5-mac/model/Native/帮你修/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Applications/WeX5_V3.5-mac/model/Native/帮你修/build/src/platforms/ios/build/sharedpch
   Error: /Applications/WeX5_V3.5-mac/model/Native/帮你修/build/src/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

9

主题

21

帖子

51

积分

初级会员

Rank: 2

积分
51
QQ
发表于 2016-9-7 10:50:54 | 显示全部楼层
本帖最后由 qibugogogo 于 2016-9-7 11:06 编辑

开始......   
保存配置信息:   
清除编译环境:   
复制模版工程:   
复制工程:   
复制插件:   
复制WWW资源:   
更新工程信息:   
增加插件:   



问题已经处理。

回复 支持 反对

使用道具 举报

6

主题

12

帖子

74

积分

初级会员

Rank: 2

积分
74
QQ
发表于 2016-9-9 10:42:15 | 显示全部楼层
使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.engine.tencent, cordova-plugin-device, cordova-plugin-app-version, cordova-plugin-keyboard, com.justep.cordova.plugin.baidulocation, cordova-plugin-spinner-dialog, cordova-plugin-statusbar, cordova-plugin-geolocation, com.verso.cordova.clipboard, cordova-plugin-screen-orientation, ch.ti8m.documenthandler, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.push, cordova-plugin-x-toast, cordova-plugin-media, cordova-plugin-inappbrowser, phonegap-plugin-barcodescanner, cordova-plugin-file, com.synconset.imagepicker, cordova-plugin-file-transfer]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "cordova-plugin-file" 参数如下:
   插件 "cordova-plugin-file-transfer" 参数如下:
   插件 "cordova-plugin-network-information" 参数如下:
   插件 "cordova-plugin-zip" 参数如下:
   插件 "cordova-plugin-inappbrowser" 参数如下:
   插件 "cordova-plugin-x-toast" 参数如下:
   插件 "com.justep.cordova.plugin.app.utils" 参数如下:
   插件 "com.justep.cordova.plugin.engine.tencent" 参数如下:
        引擎选择方式(webViewEngine):auto
   插件 "cordova-plugin-device" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "cordova-plugin-keyboard" 参数如下:
   插件 "com.justep.cordova.plugin.baidulocation" 参数如下:
   插件 "cordova-plugin-spinner-dialog" 参数如下:
   插件 "cordova-plugin-statusbar" 参数如下:
        状态栏浮动模式(StatusBarOverlaysWebView):true
        状态栏风格(StatusBarStyle):default
   插件 "cordova-plugin-geolocation" 参数如下:
   插件 "com.verso.cordova.clipboard" 参数如下:
   插件 "cordova-plugin-screen-orientation" 参数如下:
   插件 "ch.ti8m.documenthandler" 参数如下:
   插件 "com.justep.cordova.plugin.push" 参数如下:
        mqtt服务地址(mqtt_server):tcp://location.hostname:1883
   插件 "cordova-plugin-media" 参数如下:
   插件 "phonegap-plugin-barcodescanner" 参数如下:
   插件 "com.synconset.imagepicker" 参数如下:
   插件参数准备完成
   Installing "cordova-plugin-splashscreen" for android
   Installing "cordova-plugin-splashscreen" for ios
   Installing "cordova-plugin-app-preferences" for android
   Installing "cordova-plugin-app-preferences" for ios
   Installing "cordova-plugin-file" for android
   Installing "cordova-plugin-file" for ios
   Installing "cordova-plugin-file-transfer" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-file-transfer" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-network-information" for android
   Installing "cordova-plugin-network-information" for ios
   Installing "cordova-plugin-zip" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-zip" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "cordova-plugin-inappbrowser" for android
   Installing "cordova-plugin-inappbrowser" for ios
   Installing "cordova-plugin-x-toast" for android
   Installing "cordova-plugin-x-toast" for ios
   Installing "com.justep.cordova.plugin.app.utils" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Dependent plugin "cordova-plugin-file-transfer" already installed on android.
   Dependent plugin "cordova-plugin-network-information" already installed on android.
   Dependent plugin "cordova-plugin-zip" already installed on android.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
   Dependent plugin "cordova-plugin-x-toast" already installed on android.
   Installing "com.justep.cordova.plugin.app.utils" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
   Dependent plugin "cordova-plugin-network-information" already installed on ios.
   Dependent plugin "cordova-plugin-zip" already installed on ios.
   Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
   Dependent plugin "cordova-plugin-x-toast" already installed on ios.
   Installing "com.justep.cordova.plugin.engine.tencent" for android
   Installing "com.justep.cordova.plugin.engine.tencent" for ios
   Installing "cordova-plugin-device" for android
   Installing "cordova-plugin-device" for ios
   Installing "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "cordova-plugin-keyboard" for android
   Installing "cordova-plugin-keyboard" for ios
   Installing "com.justep.cordova.plugin.baidulocation" for android
   Installing "com.justep.cordova.plugin.baidulocation" for ios
   Installing "cordova-plugin-spinner-dialog" for android
   Installing "cordova-plugin-spinner-dialog" for ios
   Installing "cordova-plugin-statusbar" for android
   Installing "cordova-plugin-statusbar" for ios
   Installing "cordova-plugin-geolocation" for android
   Dependent plugin "com.justep.cordova.plugin.baidulocation" already installed on android.
   Installing "cordova-plugin-geolocation" for ios
   Dependent plugin "com.justep.cordova.plugin.baidulocation" already installed on ios.
   Installing "com.verso.cordova.clipboard" for android
   Installing "com.verso.cordova.clipboard" for ios
   Installing "cordova-plugin-screen-orientation" for android
   Installing "cordova-plugin-screen-orientation" for ios
   Installing "ch.ti8m.documenthandler" for android
   Installing "ch.ti8m.documenthandler" for ios
   Installing "com.justep.cordova.plugin.push" for android
   Installing "com.justep.cordova.plugin.push" for ios
   Installing "cordova-plugin-media" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-media" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Installing "phonegap-plugin-barcodescanner" for android
   Installing "phonegap-plugin-barcodescanner" for ios
   Installing "com.synconset.imagepicker" for android
   Error during processing of action! Attempting to revert...
   Failed to install 'com.synconset.imagepicker':Error: Uh oh!
   "E:\WeX5_V3.6pre\model\Native\姹囪揪绉诲姩瀹㈡埛绔痋build\src\platforms\android\res\drawable-mdpi\ic_launcher.png" already exists!
       at Object.module.exports.common.copyNewFile (E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\plugman\platforms\common.js:67:19)
       at module.exports.source-file.install (E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\plugman\platforms\android.js:78:20)
       at E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\platforms\PlatformApiPoly.js:654:27
       at Object.ActionStack.process (E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\node_modules\cordova-common\src\ActionStack.js:56:25)
       at PlatformApiPoly.addPlugin (E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\platforms\PlatformApiPoly.js:259:20)
       at handleInstall (E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\plugman\install.js:603:6)
       at E:\WeX5_V3.6pre\tools\cordova\node_modules\cordova-lib\src\plugman\install.js:382:28
       at _fulfilled (E:\WeX5_V3.6pre\tools\cordova\node_modules\q\q.js:787:54)
       at self.promiseDispatch.done (E:\WeX5_V3.6pre\tools\cordova\node_modules\q\q.js:816:30)
       at Promise.promise.promiseDispatch (E:\WeX5_V3.6pre\tools\cordova\node_modules\q\q.js:749:13)
   Error: Uh oh!
   "E:\WeX5_V3.6pre\model\Native\姹囪揪绉诲姩瀹㈡埛绔痋build\src\platforms\android\res\drawable-mdpi\ic_launcher.png" already exists!
****ERROR****: 子任务 "addPlugins" 执行失败。
****ERROR****: 任务 "addPlugins" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: addPlugins returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

帮忙看下这个报错
回复 支持 反对

使用道具 举报

0

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
QQ
发表于 2016-9-12 00:16:52 | 显示全部楼层
开始......
   
编译BaaS资源:
   
编译UI资源:
   
生成本地App:
   
压缩BaaS:
   
压缩SQL:
   
压缩App:
   
压缩www:
   
压缩model/UI2:
   
部署到CloudX5:
   上传部署的资源到CloudX5服务器......
   上传资源完成
   更新CloudX5服务......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   等待服务状态:upgraded 当前状态:upgrading 5秒后重新检查......
   更新完成,等待服务启动......
   服务已启动,等待部署资源......
   部署完成
   部署日志:
2016-09-11T16:10:06.512519709Z 当前使用的WeX5版本:3.6-java
2016-09-11T16:10:06.512570017Z 正在更新资源...
2016-09-11T16:10:06.535305109Z   正在更新 www...
2016-09-11T16:10:06.549071956Z   [22]更新 www 失败
2016-09-11T16:10:06.549101668Z ****ERROR****: 1
****ERROR****: 子任务 "PaaSServiceLog" 执行失败。
****ERROR****: 任务 "deploy" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: 部署失败,请检查上传的资源是否正确
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

0

主题

7

帖子

25

积分

新手上路

Rank: 1

积分
25
QQ
发表于 2016-9-13 09:23:54 | 显示全部楼层
   "operator delete[](void*)", referenced from:
         CAliSecXBuffer::~CAliSecXBuffer() in AlipaySDK
         CAliSecXBuffer::resize(unsigned long) in AlipaySDK
         alisec_crypto_Bin2Hex(CAliSecXBuffer const&) in AlipaySDK
   ld: symbol(s) not found for architecture armv7
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   
   ERROR building one of the platforms: Error: /Applications/WeX5_V3.5-mac/model/Native/bangwoxiu/build/src/platforms/ios/cordova/build: Command failed with exit code 2
   You may not have the required environment or OS to build this project
   ** BUILD FAILED **
   
   
   The following build commands failed:
           Ld build/device/bangwoxiu.app/bangwoxiu normal armv7
   (1 failure)
   Error code 65 for command: xcodebuild with args: -xcconfig,/Applications/WeX5_V3.5-mac/model/Native/bangwoxiu/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,bangwoxiu.xcodeproj,ARCHS=armv7 arm64,-target,bangwoxiu,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Applications/WeX5_V3.5-mac/model/Native/bangwoxiu/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Applications/WeX5_V3.5-mac/model/Native/bangwoxiu/build/src/platforms/ios/build/sharedpch
   Error: /Applications/WeX5_V3.5-mac/model/Native/bangwoxiu/build/src/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

0

主题

7

帖子

25

积分

新手上路

Rank: 1

积分
25
QQ
发表于 2016-9-13 09:26:19 | 显示全部楼层
本帖最后由 夜色 于 2016-9-13 09:41 编辑
夜色 发表于 2016-9-13 09:23
"operator delete[](void*)", referenced from:
         CAliSecXBuffer::~CAliSecXBuffer() in Alipay ...

wex5是3.5版本的,打包安卓没问题,和安卓同样的配置插件方法打包ios却报错,求大神指导
回复 支持 反对

使用道具 举报

21

主题

73

帖子

263

积分

中级会员

Rank: 3Rank: 3

积分
263
QQ
发表于 2016-9-13 09:56:45 | 显示全部楼层
yapee123456 发表于 2016-4-26 11:37
更新工程信息:
****ERROR****: 子任务 "updateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执 ...

该问题 是否修改 我现在也遇到这个问题
回复 支持 反对

使用道具 举报

11

主题

41

帖子

111

积分

初级会员

Rank: 2

积分
111
QQ
发表于 2016-9-14 09:14:08 | 显示全部楼层

保存配置信息:
   
编译UI资源:
   
****ERROR****: 子任务 "fail" 执行失败。
****ERROR****: 任务 "checkWWW" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: 入口文件index.html不存在。请检查是否选择了需要发布的UI资源,并在生成App包时选择了“重新编译使用到的UI资源”
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

94

主题

403

帖子

683

积分

高级会员

Rank: 4

积分
683
QQ
发表于 2016-9-14 20:45:58 | 显示全部楼层
好文不顶不行
欢迎各位加群讨论:http://bbs.wex5.com/forum.php?mod=viewthread&tid=105046&page=1&extra=#pid165306780
回复 支持 反对

使用道具 举报

4

主题

14

帖子

44

积分

新手上路

Rank: 1

积分
44
QQ
发表于 2016-9-14 22:48:07 | 显示全部楼层
APP能打包,APP安装后能进入界面但功能不正常(http://bbs.wex5.com/forum.php?mo ... d=103075&extra=),查日志中有“注:......”项(下图)。
请问该怎样处理呢?谢谢!
2.png
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-19 20:20 , Processed in 0.063753 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表