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

QQ登录

只需一步,快速开始

查看: 483|回复: 1

[结贴] 安卓打包错误

[复制链接]

23

主题

89

帖子

303

积分

中级会员

Rank: 3Rank: 3

积分
303
QQ
发表于 2016-7-8 13:10:12 | 显示全部楼层 |阅读模式
      FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':JustepGetContent:mergeReleaseResources'.
   > D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xxhdpi\abc_textfield_search_activated_mtrl_alpha.9.png: Error: File path too long on Windows, keep below 240 characters : D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xxhdpi\abc_textfield_search_activated_mtrl_alpha.9.png
   
   * Try:
   :JustepGetContent:mergeReleaseResources
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xxhdpi\abc_textfield_search_activated_mtrl_alpha.9.png: Error: File path too long on Windows, keep below 240 characters : D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xxhdpi\abc_textfield_search_activated_mtrl_alpha.9.png
   :JustepGetContent:mergeReleaseResources FAILED
BUILD FAILED
   
   Total time: 19.201 secs
   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         这个是什么意思??
   
   D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\cordova\node_modules\q\q.js:126
                       throw e;
                       ^
   Error code 1 for command: cmd with args: /s /c "D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\build\src\platforms\android\gradlew cdvBuildRelease -b D:\BaiduYunDownload\WeX5_V3.5p\model\Native\meetingroom\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

23

主题

89

帖子

303

积分

中级会员

Rank: 3Rank: 3

积分
303
QQ
 楼主| 发表于 2016-7-8 13:34:32 | 显示全部楼层
我找到问题了,,File path too long on Windows, keep below 240 characters :  名字不能太长。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 19:49 , Processed in 0.068541 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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