I ran into the same problems on Windows. I added the ANDROID_HOME system variable with the address of the sdk folder. In my case, it was c:\Users\Andrew\AppData\Local\Android\sdk
After that, I restarted WebStorm and it works fine.
PS make sure you set up the project correctly. Try to create a new project with the type "PhoneGap / Cordova", then in the terminal enter the following commands:
ionic start MyProjectName ionic serve
If everything works at this point, continue:
ionic platform add android ionic build android ionic emulate android
You can use run instead of emulate if you have GenyMotion installed and running
source share