任务':packageDebug' - 离子框架的执行失败

时间:2015-09-03 10:35:10

标签: android ionic-framework ionic

它工作正常..但是当我试图运行ionic build android时突然发现了这个错误。我无法找到问题。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':packageDebug'.
> Failed to add C:\git\personal\amarEla-app\platforms\android\build\intermediate
s\exploded-aar\android\CordovaLib\unspecified\debug\classes.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 6.603 secs

c:\git\personal\amarEla-app\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: /s /c "c:\git\personal\amarEla-app\plat
forms\android\gradlew cdvBuildDebug -b c:\git\personal\amarEla-app\platforms\and
roid\build.gradle -Dorg.gradle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 8

You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 8
    at ChildProcess.whenDone (c:\Users\amitsinha02\AppData\Roaming\npm\node_modu
les\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Process.ChildProcess._handle.onexit (child_process.js:833:5)

有什么建议吗?

0 个答案:

没有答案