cordova platfrom add android not working on Windows7. Its giving following error.
C:\Users\user\cordova_projects\myapp>cordova platforms add android
npm http GET https://registry.npmjs.org/cordova-android/3.6.4
npm http 304 https://registry.npmjs.org/cordova-android/3.6.4
Creating android project...
Error: C:\Users\user.cordova\lib\npm_cache\cordova-android\3.6.4\package\bin\cr
eate.bat: Command failed with exit code -1073741819
at ChildProcess.whenDone (C:\Users\user\AppData\Roaming\npm\node_modules\cor
dova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)