Cordova Android duplicated uses-feature from two plugins

前端 未结 7 2046
无人共我
无人共我 2020-12-10 02:12

I am using two different plugins into cordova, which both have the same uses-feature, one with android:required=\"false\" and one without.

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-10 02:31

    The following steps helped me solve this problem:

    1. Remove duplicate elements from your config.xml

    2. Remove duplicate objects from platform/android/android.json file.

    3. Remove duplicate elements from platform/android/app/src/main/AndroidManifest.xml file.

    4. Close your IDE/Text Editor (Specially if you are using VS Code).

    5. Now run 'cordova build android'.

提交回复
热议问题