Hello les amis! j'ai un petit problème d'où vient-il ?
C:\Users\j\Desktop\cordova\demo>cordova platform add android
Creating android project...
C:\Users\j.cordova\lib\npm_cache\cordova-android\3.6.4\package\bin\node_modules
\q\q.js:126
throw e;
^
Error: Please install Android target "android-19".
Hint: Run "android" from your command-line to open the SDK manager.
at C:\Users\j.cordova\lib\npm_cache\cordova-android\3.6.4\package\bin\lib\c
heck_reqs.js:174:19
at _fulfilled (C:\Users\j.cordova\lib\npm_cache\cordova-android\3.6.4\packa
ge\bin\node_modules\q\q.js:798:54)
at self.promiseDispatch.done (C:\Users\j.cordova\lib\npm_cache\cordova-andr
oid\3.6.4\package\bin\node_modules\q\q.js:827:30)
at Promise.promise.promiseDispatch (C:\Users\j.cordova\lib\npm_cache\cordov
a-android\3.6.4\package\bin\node_modules\q\q.js:760:13)
at C:\Users\j.cordova\lib\npmcache\cordova-android\3.6.4\package\bin\node
modules\q\q.js:574:44
at flush (C:\Users\j.cordova\lib\npm_cache\cordova-android\3.6.4\package\bi
n\node_modules\q\q.js:108:17)
at process._tickCallback (node.js:442:13)
Error: C:\Users\j.cordova\lib\npm_cache\cordova-android\3.6.4\package\bin\creat
e.bat: Command failed with exit code 8
at ChildProcess.whenDone (C:\Users\j\AppData\Roaming\npm\node_modules\cordov
a\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5)
J'avais le même problème, il faut just installer Android 4.4.2 depuis le SDK Manager (API 19) ;)