Medium Feed


Friday, October 9, 2015

Cordova platform : " Error: Failed to run "ant -version", make sure you have ant installed and added to your PATH "

I was getting  below error while doing Cordova environment initial setup.

Few hours of wasting time in googling , have find out that the issue was "empty" space in the PATH.

So I changed  from C:\Program Files\... to C:\Progra~1\....

This fixed the issue and now when I run cordova platform add android command it executes successfully with out any errors.

No comments:

Post a Comment