Barcode Scanner

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I am trying to add barcode scanner in my application. I already imported the necessary components from kony marketplace. And also followed procedures in configuring gradle properties for the project. But I still got dependency errors and cannot build my project succesfully.

https://docs.kony.com/marketplace/barcodeqrscanner/Content/Getting_Started.htm#Prerequisites

https://docs.kony.com/marketplace/barcodeqrscanner/Content/Getting_Started.htm#Build

:transformClassesWithJarMergingForDebug FAILED

[exec-shell]

[exec-shell] FAILURE: Build failed with an exception.

[exec-shell]

[exec-shell] - What went wrong:

[exec-shell] Execution failed for task \':transformClassesWithJarMergingForDebug\'.

[exec-shell] > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/vision/barcode/zza.class

@Felicity Hill​ can you help with this question?

Hi @Jvne Dickens​ and @Felicity Hill​ can I follow up regarding this matter?

Tagging @Mvx Wilson​

Hi @Vicky Svntvnv​

Which Visualizer version are you using?

Could you try the barcode component on a new project and share your findings? Based on that we can resolve the duplicate entries issue as well.

@Bevuden Hollowvy​

FYI

Hi Vishnu,

I am using Kony Visualizer Enterprise Edition, Version 8 Service Pack 4 fix pack 53.