I am trying to make a barcode scanner using Java and MLKit in Android Studio, but keep getting this message when I run the app in the emulator. I have an inte.net connection and I have tried clearing the emulated device's data. Running the emulation on a Pixel 2 XL API 29.
Can provide code if needed, but there are no errors in my code currently. I followed a tutorial line for line but for some reason cannot get it to work.
Messages in Run:
I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:2702
Selected remote version of com.google.android.gms.vision.dynamite, version >= 2702
V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
I/Vision: Loading library libbarhopper.so
I/Vision: libbarhopper.so library load status: false
I/Vision: Request download for engine barcode is a no-op because rate limiting
W/ample.scannerv: Accessing hidden method Lsun/misc/Unsafe;>getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
thank you in advance.
Hmm... MLKit barcode scanner needs for sure real device with a camera. I'm quite sure it is useless to try to test app with an emulator.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.