This is because there is a script flag that is checked to see the target android virsion when the ionic create myApp.
This script is located inside the cordova directory - C:\Users\[user]\.cordova\lib\npm_cache\cordova-android\3.6.4\package\framework\project.properties (for windows).
When you enter the project.properties file, you will see something similar to the one below.
split.density = false
target = android-19
APK configurations =
renderscript.opt.level = 0
android.library = true
You will need to change the line with target=android-19 , say target=android-21 I hope this helps, since I'm completely new to developing ion and hybrid mobile devices, but I remember reading about several people having the same problem . I myself ran into this error, although I had no problem installing android-19 to fix it.
Another way to check available targets without digging through each directory in your file explorer is to run the android list target from C:\Users\[user] .
source share