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