|
遇到问题和App打包常见报错帖子中Android问题7一样,按照帖子中给出的方法删除了系统环境变量中的配置。错误依然存在。救助!
[dex] input: F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\bin\classes
[dex] input: F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes.jar
[dex] Pre-Dexing F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\CordovaLib\bin\classes.jar -> classes-36c08a6cf5a5128f990b5f5e7c59e2b0.jar
[dx] Error: Could not create the Java Virtual Machine.
[dx] Error occurred during initialization of VMError: A fatal exception has occurred. Program will exit.
[dx] Could not reserve enough space for object heap
[dx]
BUILD FAILED
F:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
F:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
F:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
F:\WeX5_V3.3\tools\adt-sdk\tools\ant\build.xml:283: null returned: 1
Total time: 2 seconds
F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\build.xml
Error: F:\WeX5_V3.3\model\Native\hello\build\src\platforms\android\cordova\build.bat: Command failed with exit code 8
at ChildProcess.whenDone (F:\WeX5_V3.3\tools\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1 |
|