Ionic2 Build因异常而失败

时间:2017-03-22 12:24:47

标签: android git bash angular ionic2

我正在开发Ionic2应用程序。现在我想制作一个版本,但我收到了一个错误。我运行了离子构建android'在Git Bash中发出命令并发生以下错误。我尝试使用' cordova build android'也是,得到同样的错误。任何人都可以指导我克服这个错误吗?

FAILED


 FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':CordovaLib:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt


* 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: 2.421 secs

Error: cmd: Command failed with exit code 1 Error output:

0 个答案:

没有答案