Cannot add platform using Cordova CLI 7.0.0

I did some analysis on this and looks like its an issue with android SDK compatibility. Check for the version of Android provided by Cordova under C:/Users/%USER%/.cordova/lib/npm-cache/cordova-android (in case of windows OS) and install the respective android platform version provided.

For example: cordova platform add [email protected]

Hope it helps. Cheers

UPDATE: I guess Issue-CB-12767 should resolve your issue. --nofetch is the key


The cordova is not properly installed. so re install cordova again.and it should work for me.

The following commands are:

npm uninstall cordova -g
npm cache clean
npm install cordova -g