【问题标题】:Show error while build ionic app构建离子应用程序时显示错误
【发布时间】:2016-01-12 20:10:49
【问题描述】:

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

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

【问题讨论】:

  • 你有没有得到任何地方?

标签: cordova ionic


【解决方案1】:

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

ionic platform remove android
ionic platform add android

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-20
    • 1970-01-01
    • 2014-12-29
    • 2017-12-02
    相关资源
    最近更新 更多