I am using two different plugins into cordova, which both have the same uses-feature
, one with android:required=\"false\"
and one without.
The following steps helped me solve this problem:
Remove duplicate elements from your config.xml
Remove duplicate objects from platform/android/android.json file.
Remove duplicate elements from platform/android/app/src/main/AndroidManifest.xml file.
Close your IDE/Text Editor (Specially if you are using VS Code).
Now run 'cordova build android'.