无法在Android Studio中打开Ionic Framework编译项目

时间:2016-10-27 10:38:22

标签: android ionic-framework compiler-errors build-tools

我目前正在开发基于Ionic Framework的Android应用。我已经完成了Android Studio& amp; Android SDK。

  • Android Studio 2.2.2
  • Android SDK工具25.2.2
  • Android SDK Platfrom Tools 25.0.0
  • Android SDK Build Tools 25.0.0
  • Android SDK Platform 24 rev。 2
  • Android SDK Platform 23 rev。 3
  • Android支持存储库39
  • Google Repository 37

ionic build android& ionic emulate android命令工作正常。但是,当我试图在Android Studio中打开构建项目时,它会抛出以下错误。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':CordovaLib:processDebugAndroidTestResources'.
> A problem occurred starting process 'command 'E:\Android\android-sdk\build-tools\25.0.0\aapt.exe''

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

BUILD FAILED

我无法弄清楚出了什么问题。欢迎任何建议或帮助。

提前致谢

1 个答案:

答案 0 :(得分:0)

检查E:\Android\android-sdk\build-tools\25.0.0aapt.exe因错过选项或错误的目录而发生chart.events.selection