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

后端 未结 2 449
滥情空心
滥情空心 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: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)

提交回复
热议问题