0

I'm building an ionic app using webstorm. I recently opened android studio and updated the sdk and now I'm not able to build my project in webstorm.

I get the following when choosing a target device
I get the following when choosing a target device

I've tried renaming the home/android/sdk/tools to tools2, didn't work. Also, using the sdk manager I'm able to roll back SDK build tools to the previous version (didn't fix it) but not the SDK tools. So then, I tried using sdkmanager command line tools and I can see . . .

  tools  | 26.0.2  | Android SDK Tools | tools/   

However there are no available packages (say I want one version older v25) to install - only build tools again or platforms, system images etc. No previous versions available on developer.android.com either

PS. Using SDK platform 6.0, SDK tools v26.0.2

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
  • what is the cordova android version? – Suraj Rao May 11 '17 at 12:23
  • Not sure what that is, cordova is version 6.5.0 and ionic is version 2.2.1 –  May 11 '17 at 12:52
  • since it is an ionic app. it uses cordova android platform.. you will have a platforms folder in the project ..check platforms.json in it – Suraj Rao May 11 '17 at 12:56
  • Ah okay it's 6.1.2. Thanks –  May 11 '17 at 13:06
  • Ah.. same answer as this http://stackoverflow.com/a/43677221/4826457 – Suraj Rao May 11 '17 at 13:11
  • I removed android and then added again using @lastest but its still having the same issue. Thanks –  May 11 '17 at 13:17
  • I've downgraded my SDK by switching the folders with the ones I downloaded from http://dl-ssl.google.com/android/repository/tools_rXXX-linux.zip. It's no longer showing the error message about android being depreciated, but now its simply an empty list - it's not showing my AVDs. –  May 11 '17 at 13:47

0 Answers0