简体   繁体   English

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

[英]Can't open Ionic Framework compiled project in Android Studio

I'm currently working on Ionic Framework based Android App. 我目前正在开发基于Ionic Framework的Android应用。 I've complete setup of Android Studio & Android SDK. 我已经完成了Android Studio和Android SDK的设置。

  • Android Studio 2.2.2 Android Studio 2.2.2
  • Android SDK Tools 25.2.2 Android SDK工具25.2.2
  • Android SDK Platfrom Tools 25.0.0 Android SDK Platfrom工具25.0.0
  • Android SDK Build Tools 25.0.0 Android SDK构建工具25.0.0
  • Android SDK Platform 24 rev. Android SDK平台24版 2 2
  • Android SDK Platform 23 rev. Android SDK Platform 23修订版 3 3
  • Android Support Repository 39 Android支持存储库39
  • Google Repository 37 Google存储库37

The ionic build android & ionic emulate android commands works fine. ionic build androidionic emulate android命令工作正常。 but, When I'm attempting to open build project in Android Studio , it throws the following error. 但是,当我尝试在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 

I can't figure out what's going wrong. 我不知道怎么了。 Any suggestions or help are welcomed. 欢迎任何建议或帮助。

Thanks in advance 提前致谢

检查E:\\Android\\android-sdk\\build-tools\\25.0.0 aapt.exe有时由于缺少选项或目录不正确而发生

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM