Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

java.lang.IllegalAccessError: Class com.google.android.gms.dynamic.zzg extended by class com.google.android.gms.vision.barcode.internal.client.zzd$zza is inaccessible #56

Open
DeepakSinghTechnogen opened this issue Jul 10, 2018 · 1 comment

Comments

@DeepakSinghTechnogen
Copy link

java.lang.IllegalAccessError: Class com.google.android.gms.dynamic.zzg extended by class com.google.android.gms.vision.barcode.internal.client.zzd$zza is inaccessible (declaration of 'com.google.android.gms.vision.barcode.internal.client.zzd$zza' appears in /data/app/net.technogen.mocs-1/split_lib_dependencies_apk.apk:classes2.dex)
at com.google.android.gms.vision.barcode.BarcodeDetector$Builder.build(Unknown Source)
at com.edwardvanraak.materialbarcodescanner.MaterialBarcodeScannerBuilder.buildMobileVisionBarcodeDetector(MaterialBarcodeScannerBuilder.java:237)
at com.edwardvanraak.materialbarcodescanner.MaterialBarcodeScannerBuilder.build(MaterialBarcodeScannerBuilder.java:221)

@RahulGupta2312
Copy link

Please add the Google Mobile vision dependency and it will work fine.

implementation 'com.google.android.gms:play-services-vision:15.0.2'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants