cordova – Error: Failed to fetch platform android

I had the same problem with the [email protected] version. I solved this issue, checking what version of android is provided by cordova. You can check it in C:/Users/%USER%/.cordova/lib/npm-cache/cordova-android

Then, you install the android platform version provided. For me it was @5.1.0 which was in my cordova-android folder. So I used the cmd line following:

cordova platform add [email protected] which should be a differnet version for you.

Kind regards !

Leave a Comment