Build Error , Manifest merger

#1

Hello Guys,
I am facing build error after installing cordova-plugin-qrscanner
i have installed QR scanner using this command bellow

ionic cordova plugin add cordova-plugin-qrscanner

npm install @ionic-native/qr-scanner

I have also import this to my app module
but after this when i am building apk, getting err

Execution failed for task ‘:app:processDebugManifest’.
Manifest merger failed with multiple errors, see logs

Not sure but probably problem occurred because of these lines inside androidManifest.xml(Last three Lines)

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    <uses-feature android:name="android.hardware.camera" android:required="true" />
    <uses-permission android:name="android.permission.CAMERA" android:required="false" />
    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-feature android:name="android.hardware.camera.front" android:required="false" />

also in my android.json

{
    "xml": "<uses-permission android:name=\"android.permission.CAMERA\" android:required=\"false\" />",
    "count": 1
},
{
    "xml": "<uses-permission android:name=\"android.permission.CAMERA\" />",
    "count": 1
 },
{
   "xml": "<uses-feature android:name=\"android.hardware.camera\" android:required=\"true\" />",
   "count": 1
},
{
  "xml": "<uses-feature android:name=\"android.hardware.camera\" android:required=\"false\" />",
  "count": 1
},
{
  "xml": "<uses-feature android:name=\"android.hardware.camera.front\" android:required=\"false\" />",
  "count": 1
}

I also install cordova-plugin-camera to capture images

please help me to solve this

thanks