0
I am trying to install a plugin in Cordova, but it is complaining that my version is not compatible.
Fetching plugin "phonegap-plugin-push" via npm
Installing "phonegap-plugin-push" for android
Plugin doesn't support this project's cordova version. cordova: 4.1.1, failed version requirement: >=6.4.0
Skipping 'phonegap-plugin-push' for android
And even after updating with the command
cordova platform update android
It follows in the same version, someone knows how to update?
I will put here my current version of Cordova and Cordova-android
C:\cordova\push>cordova -v
5.3.1
C:\cordova\push>cordova platforms
Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, webos, windows, windows8, wp8
C:\cordova\push>cordova platform update android
Updating android project...
Android project updated with [email protected]
C:\cordova\push>cordova platforms
Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, webos, windows, windows8, wp8
How do I update?
I did this, C: Cordova push>Cordova Platform remove android C: Cordova push>Cordova Platform add [email protected] and yet I stayed in android version 6.1.2, the plugin I’m trying to use requires version >=6.4.0
– AndersonSouza
C: Cordova push>Cordova Platform add [email protected] Failed to fetch Platform [email protected] Probably this is either a Connection problem, or Platform spec is incorrect. Check your Connection and Platform name/version/URL. Error: version not found: [email protected]
– AndersonSouza
Uninstall Cordova and install with the old CLI and then add android: >npm install -g [email protected] && Cordova Platform add [email protected]
– João Paulo Araujo