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

environment: Windows 10

Install :
cordova 5.4.0
ionic 1.7.10
android-sdk_r24.4.1

path environment variable to include :
C:\Users\Alain\AppData\Local\Android\sdk\platform-tools
C:\Users\Alain\AppData\Local\Android\sdk\tools

ionic platform add android OK

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

I checked in the file : platforms\android\project.properties

target=android-22
android.library.reference.1=CordovaLib

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.