I just updated cordova + ionic in my app, after that i installed successfully Android-SDK v22 via Android SDK manager.
But after the running command:
In my case it was the path to my SDK folder that was causing this error.
C:\Users\username\AppData\Local\Android\android-sdk
changed to
C:\Users\username\AppData\Local\Android\sdk