Cordova - Error: Failed to Fetch Platform Android

cordova - Error: Failed to fetch platform android

I had the same problem with the android@5.1.1 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 android@5.1.0 which should be a differnet version for you.

Kind regards !

Cordova Error: Failed to fetch platform cordova-browser@~5.0.0

Remove the platform which you try to run on it (browser, ios, android, and etc.)

For example (run cmd, locate to your project folder and type):

cordova platform rm browser

Add the platform again

cordova platform add browser

You can run

cordova run browser


Related Topics



Leave a reply



Submit