javascript - Cordova add android error -


i trying add cordova android app , getting json parsing error.

i think cordova error, because can create , test projects ionic , phonegap @ android emulator.

c:\>cordova create hello hello.cd.cm helloworld creating new cordova project name "helloworld" , id "hello.cd.cm" @ lo cation "c:\hello"  c:\>cd hello   c:\hello>cordova platform add android -verbose no version supplied. retrieving version config.xml... cordovaerror: unable fetch platform android: error: failed parse json unexpected token     @ c:\users\user\appdata\roaming\npm\node_modules\cordova\node_modules\cordo va-lib\src\cordova\platform.js:194:15     @ _rejected (c:\users\user\appdata\roaming\npm\node_modules\cordova\node_mo dules\q\q.js:797:24)     @ c:\users\user\appdata\roaming\npm\node_modules\cordova\node_modules\q\q.j s:823:30     @ promise.when (c:\users\user\appdata\roaming\npm\node_modules\cordova\node _modules\q\q.js:1035:31)     @ promise.promise.promisedispatch (c:\users\user\appdata\roaming\npm\node_m odules\cordova\node_modules\q\q.js:741:41)     @ c:\users\user\appdata\roaming\npm\node_modules\cordova\node_modules\q\q.j s:557:44     @ flush (c:\users\user\appdata\roaming\npm\node_modules\cordova\node_module s\q\q.js:108:17)     @ process._tickcallback (node.js:355:11) 

help me please.

upd: degrade cordova 4.3.0 4.2.0 , works now. not normal of course...


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -