cordova version is 7.0.1
node version is v8.0.0
when running cordova platform add android@5 everything works fine. (except for cordova-plugin-media requiring android version >=6.1.0 but thats another story)
When running cordova platform add android@4 (similar for cordova platform add android@3) I get
Using cordova-fetch for cordova-android@4
Adding android project...
Error: Your android platform does not have Api.js
despite cordova officially still supporting those android versions. What am I missing here?
The only other post remotely containing this particular error I found is here, but it was not helpful.
I solved this problem trying 6.0.0 version
then there was error with bplist-parser in npm
All works fine!