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

QQ登录

只需一步,快速开始

查看: 1243|回复: 1

[处理中3] WeX5 好恶心,跟着教程做,教程好好的。我却出异常

[复制链接]

1

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
QQ
发表于 2017-2-15 12:24:37 | 显示全部楼层 |阅读模式
   生成源代码:      
   完成。
init  
   开始......      
   生成应用环境准备:      
   android应用环境准备:
         ios应用环境准备:
         生成android应用包:
      Running command: cmd "/s /c "D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\cordova\build.bat --debug --gradleArg=--offline""
      ANDROID_HOME=D:\installPack\develop\WeX5_V3.6\tools\adt-sdk
      JAVA_HOME=D:\installPack\develop\WeX5_V3.6\java\jre1.8
      Running: D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\gradlew cdvBuildDebug -b D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
      Incremental java compilation is an incubating feature.
      :preBuild UP-TO-DATE
      :preDebugBuild UP-TO-DATE
      :checkDebugManifest
      :CordovaLib:preBuild UP-TO-DATE
      :CordovaLib:preDebugBuild UP-TO-DATE
      :CordovaLib:compileDebugNdk UP-TO-DATE
      :CordovaLib:compileLint
      :CordovaLib:copyDebugLint UP-TO-DATE
      :CordovaLib:checkDebugManifest
      :CordovaLib:preDebugAndroidTestBuild UP-TO-DATE
      :CordovaLib:preDebugUnitTestBuild UP-TO-DATE
      :CordovaLib:preReleaseBuild UP-TO-DATE
      :CordovaLib:preReleaseUnitTestBuild UP-TO-DATE
      :JustepGetContent:preBuild UP-TO-DATE
      :JustepGetContent:preReleaseBuild UP-TO-DATE
      :JustepGetContent:compileReleaseNdk UP-TO-DATE
      :JustepGetContent:compileLint
      :JustepGetContent:copyReleaseLint UP-TO-DATE
      :JustepGetContent:checkReleaseManifest
      :JustepGetContent:preDebugAndroidTestBuild UP-TO-DATE
      :JustepGetContent:preDebugBuild UP-TO-DATE
      :JustepGetContent:preDebugUnitTestBuild UP-TO-DATE
      :JustepGetContent:preReleaseUnitTestBuild UP-TO-DATE
      :JustepGetContent:prepareComAndroidSupportAppcompatV72220Library
      :JustepGetContent:prepareComAndroidSupportSupportV42220Library
      :JustepGetContent:prepareReleaseDependencies
      :JustepGetContent:compileReleaseAidl
      :JustepGetContent:compileReleaseRenderscript
      :JustepGetContent:generateReleaseBuildConfig
      :JustepGetContent:generateReleaseAssets UP-TO-DATE
      :JustepGetContent:mergeReleaseAssets
      :JustepGetContent:generateReleaseResValues
      :JustepGetContent:generateReleaseResources
      :JustepGetContent:mergeReleaseResources
      D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xhdpi\abc_textfield_search_activated_mtrl_alpha.9.png: Error: File path too long on Windows, keep below 240 characters : D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xhdpi\abc_textfield_search_activated_mtrl_alpha.9.png
      :JustepGetContent:mergeReleaseResources FAILED
      
      BUILD FAILED
      FAILURE: Build failed with an exception.
      
      
      * What went wrong:
      
      Total time: 26.091 secs
      Execution failed for task ':JustepGetContent:mergeReleaseResources'.
      > D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xhdpi\abc_textfield_search_activated_mtrl_alpha.9.png: Error: File path too long on Windows, keep below 240 characters : D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\JustepGetContent\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable-xhdpi\abc_textfield_search_activated_mtrl_alpha.9.png
      
      * 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
      
      D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c "D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\build\src\platforms\android\gradlew cdvBuildDebug -b D:\installPack\develop\WeX5_V3.6\model\Native\firstDemo0\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
   C:\Users\dell\AppData\Local\Temp\42fb2a69-a9c7-4e44-94f2-0a01878e53ae\pack.xml:88: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
发表于 2017-2-15 13:19:20 | 显示全部楼层
File path too long on Windows, keep below 240 characters :

你的目录台长了!
建议WeX5解压在 D盘根目录
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-22 03:25 , Processed in 0.055532 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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