构建离子应用程序时显示错误

时间:2016-01-12 09:45:16

标签: cordova ionic

第一次构建成功执行。如果我在第二次做同样的事情就会显示错误(重新启动我的系统后第一次工作正常。)任何人都需要我满满的。

BUILD FAILED

Total time: 15.838 secs
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeDebugAssets'.
> Executor Singleton not started

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

E:\xampp\htdocs\Apps\trukr\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: /s /c "E:\xampp\htdocs\Apps\trukr\platf
orms\android\gradlew cdvBuildDebug -b E:\xampp\htdocs\Apps\trukr\platforms\andro
id\build.gradle -Dorg.gradle.daemon=true"
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
Error: cmd: Command failed with exit code 1

屏幕截图:http://i.stack.imgur.com/KBOBW.png

1 个答案:

答案 0 :(得分:0)

你可以试试这个。它可能会有所帮助

ionic platform remove android
ionic platform add android