Reputation: 1291
I did all Pre-requests steps for creating phonegap android apps. I installed all things like a
but when I was fire the command like cordova platform add android then I got following screen
before this command all commands worked properly. please anybody tell me how to solve this problem..
Thanks in advance
Upvotes: 0
Views: 759
Reputation: 11721
As seen here, it seems cordova cli does not work correctly if you have spaces in the folder where you put your project.
Most people (including me) using windows 7 or 8 don't have the issue because "c:\Documents and Settings" has been replaced by "c:\Users".
Which version of cordova are you using? (I don't seem to be able to reproduce the issue with cordova 3.4.1)
I see two solutions for you (plus upgrading to latest cordova if you have a older version) :
cd c:\Docume~1\Administrator\DesignTechCadAcadamy
cordova platform add android
For example try
md c:\CordovaProjects
pushd c:\CordovaProjects
cordova create test
cd test
cordova platform add android
Upvotes: 1