The plugin does not support this version of the cordovo-android version of the project. Cordoba Android: 4.1.1, failed version:> = 5.0.0-dev

I have a problem with the CLI cordova, when I try to add a plugin that is in the list of published NPM plugins, I get this error:

"The plugin does not support this version of the cordova-android project. Cordova-android: 4.1.1, failed version:> = 5.0.0-dev"

I saw this problem in stackoverflow here: Cordoba-plugin-camera does not load; does not meet version requirements for corova-android version:> 5.0.0-dev

But this was due to the use of the version on Github, and the recommended solution was to use the version published in npm via the Cordova CLI, which I did.

Any help would be appreciated!

+8
source share
2 answers

Well, I solved my problem, it turns out that cordova released a new stable version for Android on November 9th. I just needed to update through:

$cordova platform update android@5.0.0 
+26
source

I solved this problem with this command:

Cordova Android Platform Update

Note: after that, delete your Android platform (Cordova platform remove Android) and add the Android platform again (Cordova Platform add Android)

0
source

Source: https://habr.com/ru/post/1236825/


All Articles