I have a barcode scanner using the new android vision library that worked perfectly on my device and on several others. But suddenly it stops working and I see the following exception in the log:
No implementation found for com.google.android.gms.vision.barcode.internal.NativeBarcode[] com.google.android.gms.vision.barcode.internal.NativeBarcodeDetector.recognizeBufferNative(int, int, java.nio.ByteBuffer, com.google.android.gms.vision.barcode.internal.NativeOptions) (tried Java_com_google_android_gms_vision_barcode_internal_NativeBarcodeDetector_recognizeBufferNative and Java_com_google_android_gms_vision_barcode_internal_NativeBarcodeDetector_recognizeBufferNative__IILjava_nio_ByteBuffer_2Lcom_google_android_gms_vision_barcode_internal_NativeOptions_2)
E/CameraSource: Exception thrown from receiver.
E/CameraSource: java.lang.UnsatisfiedLinkError: No implementation found for com.google.android.gms.vision.barcode.internal.NativeBarcode[] com.google.android.gms.vision.barcode.internal.NativeBarcodeDetector.recognizeBufferNative(int, int, java.nio.ByteBuffer, com.google.android.gms.vision.barcode.internal.NativeOptions) (tried Java_com_google_android_gms_vision_barcode_internal_NativeBarcodeDetector_recognizeBufferNative and Java_com_google_android_gms_vision_barcode_internal_NativeBarcodeDetector_recognizeBufferNative__IILjava_nio_ByteBuffer_2Lcom_google_android_gms_vision_barcode_internal_NativeOptions_2)
E/CameraSource: at com.google.android.gms.vision.barcode.internal.NativeBarcodeDetector.recognizeBufferNative(Native Method)
E/CameraSource: at com.google.android.gms.vision.barcode.internal.NativeBarcodeDetector.a(SourceFile:39)
E/CameraSource: at com.google.android.gms.vision.barcode.internal.client.c.onTransact(SourceFile:61)
E/CameraSource: at android.os.Binder.transact(Binder.java:380)
E/CameraSource: at com.google.android.gms.vision.barcode.internal.client.zzb$zza$zza.zza(Unknown Source)
E/CameraSource: at com.google.android.gms.vision.barcode.internal.client.zzd.zza(Unknown Source)
E/CameraSource: at com.google.android.gms.vision.barcode.BarcodeDetector.detect(Unknown Source)
E/CameraSource: at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source)
E/CameraSource: at com.google.android.gms.vision.CameraSource$zzb.run(Unknown Source)
E/CameraSource: at java.lang.Thread.run(Thread.java:818)
The test barcodeDetector.isOperational()
returns true
.
Has anyone an idea?