I have a problem with cordova CLI, when I try to add a plugin which is in the NPM list of published plugins I get this error:
"Plugin doesn't support this project's cordova-android version. cordova- android: 4.1.1, failed version requirement: >=5.0.0-dev"
I saw this problem in stackoverflow here:Cordova-plugin-camera is not being loaded; failed version requirement for cordova-android version: >5.0.0-dev
But this was due to using the version in Github and the recommended solution was to use the version published in npm via the Cordova CLI which is what I have been doing.
Any help would be appreciated!