Ionic Build Error with Barcode and QR Scanner


#1

Hi I am trying to create a hybrid scanner app where I can scan using a barcode or qr but then when I tried building it I got this error

BUILD FAILED

Total time: 26.925 secs
Error: /home/desktop/home/Ionic/barqr-scanner/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/desktop/home/Ionic/barqr-scanner/platforms/android/AndroidManifest.xml:19:5-90 Error:
	Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:19:5-90 duplicated with element declared at AndroidManifest.xml:16:5-65
/home/desktop/home/Ionic/barqr-scanner/platforms/android/AndroidManifest.xml:20:5-85 Error:
	Element uses-feature#android.hardware.camera at AndroidManifest.xml:20:5-85 duplicated with element declared at AndroidManifest.xml:18:5-84
/home/desktop/home/Ionic/barqr-scanner/platforms/android/AndroidManifest.xml Error:
	Validation failed, exiting