I use Cordova for building an Android application. When I execute cordova build android --release
command this error is displayed:
Error: please install Android target: "android-22"
My target lists: 8, 15 and 19
When I change target
to android-19
or android-15
(in \platforms\android\project.properties) and execute cordova build android --release
this error is displayed:
Exception failed for task :CordovaLib:compileRelease/java. And an error in \platforms\android\cordova\node_modules\q\q.js:126 .