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

QQ登录

只需一步,快速开始

查看: 1425|回复: 1

[处理中3] android打包异常 3.5(mac)

[复制链接]

3

主题

5

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
发表于 2016-8-3 21:05:31 | 显示全部楼层 |阅读模式
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


在windows上测试过正常,在mac上各种问题。好像在官方集锦的打包问题里没发现类似的解决方案。
发表于 2016-8-4 13:35:46 | 显示全部楼层
看下是否是这个原因:http://doc.wex5.com/wex5-app-question-list-0004/
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-20 00:20 , Processed in 0.108068 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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