生成android应用包:
Running command: cmd "/s /c "C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\build\src\platforms\android\cordova\build.bat --debug --gradleArg=--offline""
ANDROID_HOME=C:\Users\Administrator\Desktop\BeX5\tools\adt-sdk
JAVA_HOME=C:\Users\Administrator\Desktop\BeX5\java\jre1.8
Running: C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\build\src\platforms\android\gradlew cdvBuildDebug -b C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
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
C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\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 : C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\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
Total time: 23.405 secs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':JustepGetContent:mergeReleaseResources'.
> C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\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 : C:\Users\Administrator\Desktop\BeX5\model\Native\NetBreak\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.
C:\Users\ADMINI~1\AppData\Local\Temp\2\39a065e6-141c-4fdf-aa1b-0c9c672a9564\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 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