Skip to content Skip to sidebar Skip to footer

Gradle Error When Try To Add Dependency For Zxing Scanner

I tried to add a dependency 'me.dm7.barcodescanner:zxing:1.9.8' for the barcode scanner functionality. It populates Gradle error as given in image click

Solution 1:

This happens because this library uses the old version com.android.support libs.

Try do this:

implementation ("me.dm7.barcodescanner:zxing:1.9.8") {
    exclude group: "com.android.support"
}

Post a Comment for "Gradle Error When Try To Add Dependency For Zxing Scanner"