tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
82.58k stars 2.48k forks source link

[bug] Barcode Scanner Local module descriptor class for com.google.mlkit.dynamite.barcode not found #9397

Open TZDXF opened 5 months ago

TZDXF commented 5 months ago

Describe the bug

Local module descriptor class for com.google.mlkit.dynamite.barcode not found. Waiting for the barcode module to be downloaded. Please wait.

Reproduction

No response

Expected behavior

No response

Full tauri info output

tauri android dev

Stack trace

04-07 14:18:28.599 18765 18965 W DynamiteModule: Local module descriptor class for com.google.mlkit.dynamite.barcode not found.
04-07 14:18:28.618 18765 18765 E MobileVisionBase: Error preloading model resource
04-07 14:18:28.618 18765 18765 E MobileVisionBase: com.google.mlkit.common.MlKitException: Waiting for the barcode module to be downloaded. Please wait.
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.vision.barcode.internal.zzl.zzc(com.google.android.gms:play-services-mlkit-barcode-scanning@@18.1.0:10)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.vision.barcode.internal.zzi.load(com.google.android.gms:play-services-mlkit-barcode-scanning@@18.1.0:1)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.ModelResource.zza(com.google.mlkit:common@@18.5.0:4)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.zzn.run(Unknown Source:10)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.zzt.run(com.google.mlkit:common@@18.5.0:2)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze(com.google.mlkit:common@@18.5.0:4)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc(com.google.mlkit:common@@18.5.0:1)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.zzk.run(Unknown Source:2)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd(com.google.mlkit:common@@18.5.0:2)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at com.google.mlkit.common.sdkinternal.zzi.run(Unknown Source:2)
04-07 14:18:28.618 18765 18765 E MobileVisionBase:      at java.lang.Thread.run(Thread.java:1012)

Additional context

No response

FabianLars commented 5 months ago

Is this on an emulator or a real device?

If it's an emulator, can you make sure it has the play store enabled? In the list of devices there's an icon for that: grafik