0

I'm currently working on Ionic Framework based Android App. I've complete setup of Android Studio & Android SDK.

  • Android Studio 2.2.2
  • Android SDK Tools 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 Support Repository 39
  • Google Repository 37

The ionic build android & ionic emulate android commands works fine. but, When I'm attempting to open build project in Android Studio, it throws the following error.

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

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Kasim Rangwala
  • 1,765
  • 2
  • 23
  • 44

1 Answers1

0

check E:\Android\android-sdk\build-tools\25.0.0.for aapt.exesome times it occur due to missed options or ircorrect directory

Edison Augusthy
  • 1,535
  • 17
  • 32
  • I've checked, aapt.exe is there at exact place. Ionic framework compiles it successfully. So, Aapt.exe itself is not problem. Maybe something goes wrong with Android Studio – Kasim Rangwala Oct 27 '16 at 15:50