Reputation: 11
When I ran the command line,
cordova platform add android
I got this error message,
cordova is not recognized as an internal or external command, operable program or batch file
However, I could install the ios
, not this android. Is there a way to work around this?
Upvotes: 1
Views: 1488
Reputation: 433
Given the details you have provided, I would guess that you do not have the android tools on your path.
both the platform_tools
and tools
directories in the android sdk must be placed on the system path.
if you need additional help, please post more details:
You can find complete platform installation guides in the Cordova projects documentation
Upvotes: 1