Plugin doesn't support this project's cordova-android version. cordova-android: 4.1.1, failed version requirement: >=5.0.0-dev

后端 未结 2 442
滥情空心
滥情空心 2021-01-04 04:35

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\

相关标签:
2条回答
  • 2021-01-04 05:18

    Ok, I solved my problem, turns out cordova released a new stable version for Android November 9th. I just had to updated via:

        $cordova platform update android@5.0.0
    
    0 讨论(0)
  • 2021-01-04 05:38

    I solved this problem with this command:

    cordova platform update android

    Note: After that remove your android platform(cordova platform remove android) and add once again android platform(cordova platform add android)

    0 讨论(0)
提交回复
热议问题