I am using two different plugins into cordova, which both have the same uses-feature, one with android:required=\"false\" and one without.
uses-feature
android:required=\"false\"
In addition to removing duplicate lines in plugins.xml file, go to [your project]/platforms/android/android.json and remove duplicate lines in the file as well.
Reopen your command terminal before compiling the project again.