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

QQ登录

只需一步,快速开始

楼主: liangshaohua

[分享] App打包常见报错

  [复制链接]

1

主题

6

帖子

12

积分

新手上路

Rank: 1

积分
12
QQ
发表于 2016-8-3 11:28:14 | 显示全部楼层
1.        职位职能: Java中级软件工程师
2.        职责描述:
- 参与公司移动互联网产品(移动支付,营销)的设计和开发。
- 参与产品与银行业务系统的对接。
- 拥有金融、电信项目、020电商、支付项目、银行项目等开发经验优先。
3.        任职资格:
- 大专及以上学历,计算机相关专业;
- 拥有2年或以上的Java、WEB相关软件开发经验;
- 熟悉J2EE、SQL;有基于MySQL或Oracle数据库应用系统的开发经验和PL/QL编程经验;
- 熟悉常用框架,如SpringMVC,Hibernate,Mybatis或Ibatis,RESTEasy,有上述技术的实际开发经验;
-熟悉web前端开发所需技能,如JavaScript, CSS, html5等技术(JavaScript必须熟练掌握),熟悉主流前端框架如jQuery,AngularJS,Bootstrap等;
- 熟练使用Linux系统,熟悉Linux下项目部署;
- 工作积极主动,具备较强的责任感且有良好的沟通和团队协作能力;
- 拥有金融、电信项目、020电商、支付项目、银行项目等开发经验优先。


工作地:昆山
薪资:8000-15000元(其他福利面议)
联系方式:盛小姐 18317011968
回复 支持 反对

使用道具 举报

1

主题

6

帖子

12

积分

新手上路

Rank: 1

积分
12
QQ
发表于 2016-8-3 11:28:36 | 显示全部楼层
1.        职位职能: Java中级软件工程师
2.        职责描述:
- 参与公司移动互联网产品(移动支付,营销)的设计和开发。
- 参与产品与银行业务系统的对接。
- 拥有金融、电信项目、020电商、支付项目、银行项目等开发经验优先。
3.        任职资格:
- 大专及以上学历,计算机相关专业;
- 拥有2年或以上的Java、WEB相关软件开发经验;
- 熟悉J2EE、SQL;有基于MySQL或Oracle数据库应用系统的开发经验和PL/QL编程经验;
- 熟悉常用框架,如SpringMVC,Hibernate,Mybatis或Ibatis,RESTEasy,有上述技术的实际开发经验;
-熟悉web前端开发所需技能,如JavaScript, CSS, html5等技术(JavaScript必须熟练掌握),熟悉主流前端框架如jQuery,AngularJS,Bootstrap等;
- 熟练使用Linux系统,熟悉Linux下项目部署;
- 工作积极主动,具备较强的责任感且有良好的沟通和团队协作能力;
- 拥有金融、电信项目、020电商、支付项目、银行项目等开发经验优先。


工作地:昆山
薪资:8000-15000元(其他福利面议)
联系方式:盛小姐 18317011968
回复 支持 反对

使用道具 举报

23

主题

109

帖子

507

积分

高级会员

Rank: 4

积分
507
QQ
发表于 2016-8-3 17:46:03 | 显示全部楼层
duzhuan119 发表于 2016-2-15 12:57
我也报这个错,请问是怎么解决的

这个是哪里出问题了,有人回复吗?
回复 支持 反对

使用道具 举报

3

主题

5

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
发表于 2016-8-3 20:59:37 | 显示全部楼层
BUILD FAILED
   
   Total time: 1.475 secs
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   A problem occurred configuring root project 'android'.
   > Could not resolve all dependencies for configuration ':classpath'.
      > Could not resolve com.android.tools.build:gradle:2.0.0+.
        Required by:
            :android:unspecified
         > No cached version listing for com.android.tools.build:gradle:2.0.0+ available for offline mode.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   ERROR building one of the platforms: Error: /wex5/model/Native/hello/build/src/platforms/android/cordova/build: Command failed with exit code 1
   You may not have the required environment or OS to build this project
   
   /wex5/model/Native/hello/build/src/platforms/android/cordova/node_modules/q/q.js:126
                       throw e;
                       ^
   Error code 1 for command: /wex5/model/Native/hello/build/src/platforms/android/gradlew with args: cdvBuildDebug,-b,/wex5/model/Native/hello/build/src/platforms/android/build.gradle,-Dorg.gradle.daemon=true,--offline
   Error: /wex5/model/Native/hello/build/src/platforms/android/cordova/build: 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
回复 支持 反对

使用道具 举报

0

主题

1639

帖子

497

积分

中级会员

Rank: 3Rank: 3

积分
497
QQ
发表于 2016-8-4 13:22:17 | 显示全部楼层
顶,这帖子太有用了!!
回复我的时候请点击我当前评论旁边的回复按钮,能保证第一时间看到您的回复,在问题解决后,希望大家可以吧解决方法也分享一下,这样可以让更多的X5开发者共同进步,谢谢大家的知识共享
回复 支持 反对

使用道具 举报

23

主题

95

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
QQ
发表于 2016-8-5 11:45:07 | 显示全部楼层
BUILD FAILED

Total time: 16.806 secs
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/src/com/3esemiconductor/Wex5EtiAPP/MainActivity.java:20: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
           ^
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build/generated/source/r/release/com/3esemiconductor/Wex5EtiAPP/R.java:8: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
           ^
/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build/generated/source/buildConfig/release/com/3esemiconductor/Wex5EtiAPP/BuildConfig.java:4: 错误: 浮点文字的格式错误
package com.3esemiconductor.Wex5EtiAPP;
           ^
3 个错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project

/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                    ^
Error code 1 for command: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/gradlew with args: cdvBuildRelease,-b,/Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/build.gradle,-Dorg.gradle.daemon=true,--offline
Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C13A791600001FF141CE0133D1373/build/platforms/android/cordova/build: Command failed with exit code 1
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildAndroid" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

0

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
QQ
发表于 2016-8-10 09:25:06 | 显示全部楼层
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils]
   开始准备插件参数......
   插件参数准备完成
   开始安装插件......
   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.
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
****ERROR****: 子任务 "copy" 执行失败。
****ERROR****: 任务 "prepareAndroidBuild" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Warning: Could not find file D:\tools\WeX5_V3.4\model\Native\catch fish\build\src\android.keystore to copy.


想问一下,如果想自己插入app图标,,是不是要把图片复制到所指向的路径下?
这个问题在有设置app图标的时候有出现,当使用默认图标进行打包的时候就正常了……
回复 支持 反对

使用道具 举报

0

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
QQ
发表于 2016-8-11 18:02:25 | 显示全部楼层
ios应用环境准备:
   1 identity imported.
   
生成android应用包:
   
生成ios应用包:
   Running command: /Users/mac-tdcy/Downloads/WeX5_V3.5-mac/model/Native/洺汐商城/build/src/platforms/ios/cordova/build --release --device
   ERROR building one of the platforms: Error: /Users/mac-tdcy/Downloads/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
   xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
   
   Error: /Users/mac-tdcy/Downloads/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
回复 支持 反对

使用道具 举报

4

主题

30

帖子

53

积分

初级会员

Rank: 2

积分
53
发表于 2016-8-12 13:48:25 | 显示全部楼层
liangshaohua 发表于 2015-11-30 15:36
【IOS报错情况一】打包过程中输入iOS的P12证书密码错误时,会在打包服务器日志中输出如下错误信息:

secur ...

也有可能是证书不对,重新从钥匙串中导出,并记住密码
宝剑锋从磨砺出,梅花香自苦寒来。
回复 支持 反对

使用道具 举报

2

主题

8

帖子

18

积分

新手上路

Rank: 1

积分
18
QQ
发表于 2016-8-18 13:25:19 | 显示全部楼层
郑峰次郎 发表于 2016-2-2 18:47
****ERROR****: 子任务 "updateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执行失败。
****E ...

我也想问怎么解决的
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-1 09:55 , Processed in 0.072541 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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