Error : Please install Android target: "android-22"

environment: Windows 10

Install :
cordova 5.4.0
ionic 1.7.10

path environment variable to include :

ionic platform add android OK

But ionic build android
Error : Please install Android target: "android-22"

I checked in the file : platforms\android\


Can you help me ?

Hi, same thing happened to me earlier.

Start your SDK manager and download all the stuff related to android v22, as well as the latest
Android sdk tools, android sdk build tools, the sdk platform for 22, and finally the android support repository.

I might have forgotten one or two, but you get the ideas.