生成android应用包:
Running command: cmd "/s /c "E:\BeX5_V3.6_laojiang\model\Native\鑰佸尃闆嗗洟\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
ANDROID_HOME=E:\BeX5_V3.6_laojiang\tools\adt-sdk
JAVA_HOME=E:\BeX5_V3.6_laojiang\java\jre1.8
Running: E:\BeX5_V3.6_laojiang\model\Native\鑰佸尃闆嗗洟\build\src\platforms\android\gradlew cdvBuildRelease -b E:\BeX5_V3.6_laojiang\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
FAILURE: Build failed with an exception.
* What went wrong:
java.io.IOException: 设备未就绪。
C:\Users\ADMINI~1\AppData\Local\Temp\2\b0cfd04d-4bf1-4ba6-a454-93227d20b4b5\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)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
E:\BeX5_V3.6_laojiang\model\Native\鑰佸尃闆嗗洟\build\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
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)
Error code 1 for command: cmd with args: /s /c "E:\BeX5_V3.6_laojiang\model\Native\鑰佸尃闆嗗洟\build\src\platforms\android\gradlew cdvBuildRelease -b E:\BeX5_V3.6_laojiang\model\Native\鑰佸尃闆嗗洟\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
at org.apache.tools.ant.Target.execute(Target.java:435) Error: cmd: Command failed with exit code 1