在 flutter 中加载可选模块 com.google.android.gms.vision.barcode 时出错

Nav*_*feh 6 android barcode dart flutter

我正在尝试使用这个包,因为它有多个条形码扫描仪。我运行他们自己的代码(可在pub.dev上找到),但它没有检测到任何条形码并给了我一些日志:

W/DynamiteModule(18708): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule(18708): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
W/DynamiteModule(18708): Local module descriptor class for com.google.android.gms.vision.barcode not found.
I/DynamiteModule(18708): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:0
E/Vision  (18708): Error loading optional module com.google.android.gms.vision.barcode: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module foun
d. Local version is 0 and remote version is 0.
Run Code Online (Sandbox Code Playgroud)

它一遍又一遍地重复。

我满足了发布者提到的所有要求,但仍然不起作用。

这对我来说非常重要,我需要解决它,我问过一次,但没有人回答。你的回答对我来说太刻薄了,谢谢。