gpt4 book ai didi

android - 一段时间后条码扫描器抛出 java.lang.UnsatisfiedLinkError

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:22:26 25 4
gpt4 key购买 nike

我有一个条形码扫描器,它使用新的 android 视觉库,它在我的设备和其他几个设备上都能完美运行。但突然它停止工作,我在日志中看到以下异常:

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)

测试 barcodeDetector.isOperational() 返回 true。有人有想法吗?

最佳答案

针对 Google Play Services 8.1 重新编译您的应用程序可能会有所帮助。此解决方法将很快出现在 https://developers.google.com/vision/release-notes。 .

关于android - 一段时间后条码扫描器抛出 java.lang.UnsatisfiedLinkError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32611471/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com