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

QQ登录

只需一步,快速开始

楼主: liangshaohua

[分享] App打包常见报错

  [复制链接]

9

主题

19

帖子

51

积分

初级会员

Rank: 2

积分
51
QQ
发表于 2016-7-21 16:49:40 | 显示全部楼层
用X5把生成的安装包,安装到手机模拟器上之后,为什么总是显示让登陆谷歌帐号,并且还总是登陆不上?
回复 支持 反对

使用道具 举报

8

主题

34

帖子

74

积分

初级会员

Rank: 2

积分
74
QQ
发表于 2016-7-22 10:23:53 | 显示全部楼层
solomanhl 发表于 2016-6-8 09:29
****ERROR****: 子任务 "delete" 执行失败。
****ERROR****: 任务 "cleanBuildSrc" 执行失败。
****ERROR** ...

怎么解决的?求救
回复 支持 反对

使用道具 举报

8

主题

34

帖子

74

积分

初级会员

Rank: 2

积分
74
QQ
发表于 2016-7-22 10:24:17 | 显示全部楼层
solomanhl 发表于 2016-6-8 09:29
****ERROR****: 子任务 "delete" 执行失败。
****ERROR****: 任务 "cleanBuildSrc" 执行失败。
****ERROR** ...

怎么解决的额
回复 支持 反对

使用道具 举报

0

主题

6

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2016-7-25 21:40:11 | 显示全部楼层
囧小宝 发表于 2016-7-4 16:37
* Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option  ...

我也是遇到这个问题,从头看到尾,这个问题提的最多,但是没有解决方案啊
回复 支持 反对

使用道具 举报

0

主题

6

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2016-7-25 21:41:12 | 显示全部楼层
kenminkajp 发表于 2016-3-16 17:01
* Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to ...

这个解决了吗??一直是这个错误 该怎么办??、
回复 支持 反对

使用道具 举报

0

主题

6

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2016-7-25 21:42:48 | 显示全部楼层
feverkim 发表于 2016-4-5 11:09
开始......
   
保存配置信息:

我也是遇到这个问题,从头看到尾,这个问题提的最多,但是没有解决方案啊
回复 支持 反对

使用道具 举报

1

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
发表于 2016-7-27 11:30:17 | 显示全部楼层
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-app-version, com.justep.cordova.plugin.baidulocation, com.justep.cordova.plugin.bmap, cordova-plugin-geolocation]
   开始安装插件......
   开始准备插件参数......
   插件 "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" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "com.justep.cordova.plugin.baidulocation" 参数如下:
   插件 "com.justep.cordova.plugin.bmap" 参数如下:
   插件 "cordova-plugin-geolocation" 参数如下:
   插件参数准备完成
   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 "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Installing "com.justep.cordova.plugin.baidulocation" for android
   Installing "com.justep.cordova.plugin.baidulocation" for ios
   Installing "com.justep.cordova.plugin.bmap" for android
   Installing "com.justep.cordova.plugin.bmap" 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.
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   
生成android应用包:
   Running command: cmd "/s /c "G:\WeX5\model\Native\waimai\build\src\platforms\android\cordova\build.bat --debug --gradleArg=--offline""
   ANDROID_HOME=G:\WeX5\tools\adt-sdk
   JAVA_HOME=G:\WeX5\java\jre1.8
   Running: G:\WeX5\model\Native\waimai\build\src\platforms\android\gradlew cdvBuildDebug -b G:\WeX5\model\Native\waimai\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
   
   
   FAILURE: Build failed with an exception.BUILD FAILED
   
   
   * What went wrong:
   Total time: 1.642 secs
   
   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: cmd: Command failed with exit code 1
   You may not have the required environment or OS to build this project
   
   G:\WeX5\model\Native\waimai\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "G:\WeX5\model\Native\waimai\build\src\platforms\android\gradlew cdvBuildDebug -b G:\WeX5\model\Native\waimai\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
   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
回复 支持 反对

使用道具 举报

24

主题

203

帖子

435

积分

中级会员

Rank: 3Rank: 3

积分
435
QQ
发表于 2016-7-27 11:37:26 | 显示全部楼层
littlelove2013 发表于 2016-1-27 20:02
【Android打包报错】
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行 ...

一样
回复 支持 反对

使用道具 举报

0

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
QQ
发表于 2016-7-27 13:38:39 | 显示全部楼层
开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, cordova-plugin-inappbrowser, org.apache.cordova.inappbrowser, cordova-plugin-app-version, org.apache.cordova.device, uk.co.whiteoctober.cordova.appversion]
   开始安装插件......
   开始准备插件参数......
   插件 "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" 参数如下:
   插件 "org.apache.cordova.inappbrowser" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "org.apache.cordova.device" 参数如下:
   插件 "uk.co.whiteoctober.cordova.appversion" 参数如下:
   插件参数准备完成
   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.
   org.apache.cordova.inappbrowser" will not install due to "E:\WeX5_V3.5\model\Native\妫�瀵熼櫌\build\src\plugins\cordova-plugin-inappbrowser" being installed.
   Plugin "cordova-plugin-inappbrowser" already installed on android.
   Plugin "cordova-plugin-inappbrowser" already installed on ios.
   Installing "cordova-plugin-app-version" for android
   Installing "cordova-plugin-app-version" for ios
   Notice: org.apache.cordova.device has been automatically converted to cordova-plugin-device and fetched from npm. This is due to our old plugins registry shutting down.
   Fetching plugin "cordova-plugin-device" via npm
   cordova-plugin-device" will not install due to "E:\WeX5_V3.5\model\Native\妫�瀵熼櫌\build\src\plugins\org.apache.cordova.device" being installed.
   Installing "org.apache.cordova.device" for android
   Notice: org.apache.cordova.device has been automatically converted to cordova-plugin-device and fetched from npm. This is due to our old plugins registry shutting down.
   Fetching plugin "cordova-plugin-device" via npm
   cordova-plugin-device" will not install due to "E:\WeX5_V3.5\model\Native\妫�瀵熼櫌\build\src\plugins\org.apache.cordova.device" being installed.
   Installing "org.apache.cordova.device" for ios
   Installing "uk.co.whiteoctober.cordova.appversion" for android
   Error during processing of action! Attempting to revert...
   Failed to install 'uk.co.whiteoctober.cordova.appversion':Error: Uh oh!
   "E:\WeX5_V3.5\model\Native\妫�瀵熼櫌\build\src\platforms\android\src\uk\co\whiteoctober\cordova\AppVersion.java" already exists!
       at Object.module.exports.common.copyNewFile (E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\plugman\platforms\common.js:67:19)
       at module.exports.source-file.install (E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\plugman\platforms\android.js:78:20)
       at E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\platforms\PlatformApiPoly.js:654:27
       at Object.ActionStack.process (E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\node_modules\cordova-common\src\ActionStack.js:56:25)
       at PlatformApiPoly.addPlugin (E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\platforms\PlatformApiPoly.js:259:20)
       at handleInstall (E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\plugman\install.js:603:6)
       at E:\WeX5_V3.5\tools\cordova\node_modules\cordova-lib\src\plugman\install.js:382:28
       at _fulfilled (E:\WeX5_V3.5\tools\cordova\node_modules\q\q.js:787:54)
       at self.promiseDispatch.done (E:\WeX5_V3.5\tools\cordova\node_modules\q\q.js:816:30)
       at Promise.promise.promiseDispatch (E:\WeX5_V3.5\tools\cordova\node_modules\q\q.js:749:13)
   Error: Uh oh!
   "E:\WeX5_V3.5\model\Native\妫�瀵熼櫌\build\src\platforms\android\src\uk\co\whiteoctober\cordova\AppVersion.java" already exists!
****ERROR****: 子任务 "addPlugins" 执行失败。
****ERROR****: 任务 "addPlugins" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: addPlugins returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

谁能帮忙看看啊 急着解决啊

点评

请问这个问题你是怎么解决的。  发表于 2017-3-31 19:40
回复 支持 反对

使用道具 举报

11

主题

44

帖子

119

积分

初级会员

Rank: 2

积分
119
QQ
发表于 2016-7-28 13:32:38 | 显示全部楼层

   插件 "cordova-plugin-file" 参数如下:
   插件 "com.justep.cordova.plugin.AFNetworking" 参数如下:
   插件 "cordova-plugin-http" 参数如下:
   插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
        微信应用ID(weixin_appid):wx7f1cf94ef1ea9163
        微信应用密钥(weixin_secret):取用户信息必填
        微信商户ID(weixin_partner_id):1260525001
        微信api_key(weixin_api_key):C6B64B44003000013DD711AF15089430
   插件 "cn.jpush.phonegap.JPushPlugin" 参数如下:
        jpush应用标识(AppKey)(jpush_appkey):07ffdfc4ffb965d80480a40c
   插件 "com.justep.cordova.plugin.unionpay" 参数如下:
        控件模式(00:生产模式 01:测试模式)(unionpay_mmode):00
   插件 "com.justep.cordova.plugin.alipay" 参数如下:
        阿里商户(partner):2088811446024912
        阿里支付私钥(rsa_private):MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAM3NsYcFbce3omzhiXY1Mr8nkxuHkpVFky9JBb+vnLzje+mjZIxbHDGIU//3c88H5F6CO6CPNMa036QJ9nhS6Ea7xmEGQ2JxY0JMM2bnQxhRtwwe1nV67boFzkjrOWD1loThzK3pgVkb6D6gLqANXcPSe3JAqrvouNUYvK/+75O1AgMBAAECgYBy3IdlZUlE+x+DB0lyGPTOrSa0abEM8LzZ2jaEKl4fKhOBbXjzwPH2TzEaniAbfzsc6DChRuvcrxxWcF0IALWzqyJdGNxZjlhwyVhKc4BJnn90AUXohvB83AFd2+cHurHkAE8sEO8ihDsSOon0YpKKkA/haQ8RKshTCO8RZIlugQJBAP2WkR3BbPzgHZxKR8u0woe0ZzIkUCa/+dMr8XELE6ZBj1w3uPTq4ePHto5W9MLwzN3p3lN+WcUkAM/BdzlbUyECQQDPwsf4SYCjV5hTNY7sj1sqcO4O8Ti7HnINHkefb90TsIrQjaBYNYxeEjj028yLxKkNkNUoLZQekt0jDast24IVAkBDvM5yplJYkf0W3HilH1m/Kh9Os4h9cVZoZBqQWaccB/MlbPUI5x0D3TsUdoHW+L+gn3H115BfKqjU1hbkyVJBAkEAryckVTMKayrG9aeahd7Z2e75E8nTrRUey+ZyNX0mYZodfXNY8eS7IPe14uCHEnJKn3Ax9DxwulHQcuPsI64CfQJBAPYgBMhCX6HXpLTKUuIID1dy1ENZyEEUZCouQsuPYwirOO6z4NIi8wSa98wgM0/2NJrVs1W2/l2fn8xVycd4Ykk=
        阿里支付公钥(rsa_public):MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB
        阿里url_scheme(alipay_scheme):alipay20888114460249121
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "cordova-plugin-file-transfer" 参数如下:
   插件 "cordova-plugin-network-information" 参数如下:
   插件 "cordova-plugin-zip" 参数如下:
   插件 "cordova-plugin-inappbrowser" 参数如下:
   插件 "cordova-plugin-x-toast" 参数如下:
   插件 "com.justep.cordova.plugin.app.utils" 参数如下:
   插件 "cordova-plugin-device" 参数如下:
   插件 "cordova-plugin-app-version" 参数如下:
   插件 "com.justep.cordova.plugin.baidulocation" 参数如下:
   插件 "com.justep.cordova.plugin.bmap" 参数如下:
   插件 "cordova-plugin-geolocation" 参数如下:
   插件参数准备完成
   Installing "cordova-plugin-file" for android
   Installing "cordova-plugin-file" for ios
   Installing "com.justep.cordova.plugin.AFNetworking" for android
   Installing "com.justep.cordova.plugin.AFNetworking" for ios
   Installing "cordova-plugin-http" for android
   Dependent plugin "cordova-plugin-file" already installed on android.
   Installing "cordova-plugin-http" for ios
   Dependent plugin "cordova-plugin-file" already installed on ios.
   Dependent plugin "com.justep.cordova.plugin.AFNetworking" already installed on ios.
   Installing "com.justep.cordova.plugin.weixin.v3" for android
   Dependent plugin "cordova-plugin-http" already installed on android.
   The module "ConfigParser" has been factored into "cordova-common". Consider update your plugin hooks.
   E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android
   E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android
   Installing "com.justep.cordova.plugin.weixin.v3" for ios
   Dependent plugin "cordova-plugin-http" already installed on ios.
   Dependent plugin "com.justep.cordova.plugin.AFNetworking" already installed on ios.
   Installing "cn.jpush.phonegap.JPushPlugin" for android
   Running android-install.Hook: after_plugin_install, Package: com.wex5.takeout, Path: E:\WeX5_V3.5\model\Native\澶栧崠\build\src.
   E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\src\cn\jpush\phonegap
   Installing "cn.jpush.phonegap.JPushPlugin" for ios
   Installing "com.justep.cordova.plugin.unionpay" for android
   Installing "com.justep.cordova.plugin.unionpay" for ios
   Installing "com.justep.cordova.plugin.alipay" for android
   Installing "com.justep.cordova.plugin.alipay" for ios
   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-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 "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 "com.justep.cordova.plugin.baidulocation" for android
   Installing "com.justep.cordova.plugin.baidulocation" for ios
   Installing "com.justep.cordova.plugin.bmap" for android
   Installing "com.justep.cordova.plugin.bmap" 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.
   Running android-install.Hook: after_plugin_add, Package: com.wex5.takeout, Path: E:\WeX5_V3.5\model\Native\澶栧崠\build\src.
   E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\src\cn\jpush\phonegap
   插件安装完成
   
创建源代码工程:
   
android应用环境准备:
   
ios应用环境准备:
   
生成android应用包:
   Running command: cmd "/s /c "E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
   ANDROID_HOME=E:\WeX5_V3.5\tools\adt-sdk
   JAVA_HOME=E:\WeX5_V3.5\java\jre1.8
   Running: E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\gradlew cdvBuildRelease -b E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   java.io.IOException: 设备未就绪。
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   
   E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\gradlew cdvBuildRelease -b E:\WeX5_V3.5\model\Native\澶栧崠\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
   ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
   You may not have the required environment or OS to build this project
   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
以上是win10系统里打包报错
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-16 02:56 , Processed in 0.081022 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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