cordova platform add android new error -


i hit following error while executing cordova platform add android:

c:\users\demolition hammer\hellox> cordova platform add android  creating android project... c:\users\demolition' not recognised internal or extrenal command, operable program or batch file error: c:\users\demoliton hammer\.cordova\lib\android\cordova\3.4.0\bin\create. bat:command failed exit code 1     @ childprocess.whendone <c:\users\demolition hammer\appdata\roaming\npm\node_modules\cordova\src\superspawn.js:126:23>     @ childprocess.eventemitter.emit <events.js:98:17>     @ maybeclose <child_process.js:743:16>     @ process.childprocess._handle.oneexit <child_process.js:810:5> 

i accidentally deleted default path of environment system variable. have entered default path pc. apart that, other paths should fine. kindly me out. frustrating.

a known problem cordova cli not support spaces in path. sometimes. in commands, path string sanitized. in others, not much.

create/move project directory alphanumeric characters , should work fine.

you use phonegap cli, has parallel core functionality, allows upload phonegap build. handles paths spaces properly. if doesn't, can fix i'm primary maintainer :p


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -