本文介绍了过了一段时间吧code扫描仪引发java.lang.UnsatisfiedLinkError中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用该工作完全在我的设备和其他几个人的新的Android视觉库酒吧code扫描仪。但突然停止工作,我在日志中看到以下异常:
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)
测试吧codeDetector.isOperational()
返回真
。有没有人一个想法?
The test barcodeDetector.isOperational()
returns true
.Has anyone an idea?
推荐答案
这可能有助于重新编译对抗谷歌应用程序播放服务8.1。此变通办法将很快出现在 https://developers.google.com/vision/release-notes一>
It may help to recompile your application against Google Play Services 8.1. This workaround will appear shortly at https://developers.google.com/vision/release-notes.
这篇关于过了一段时间吧code扫描仪引发java.lang.UnsatisfiedLinkError中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!