I have managed to break my previously working version of the Ionic enviroment. For example: I download the demo project \"sidemenu\" and run \"ionic platform add android\" w
I was having the same issue and this worked for me. I have Android Studio installed, which makes managing the SDK a lot easier.
1) When you launch Android Studio, click on the "Configure" option
2)Then click SDK Manager
4) Then select Android 5.1.1 which is the API level 22 that you need. Refer to the screenshot below.
5) Hit Apply
This will installed the required android-22 that your build is asking for.