找不到com.google.android.gms.vision.dynamite的本地模块描述符类

时间:2022-05-20 20:56:38

I'm new at Google Mobile Vision api and I've been using barcode detector class to detect barcodes. The app works fine but it does not work in my android 4.2.2 phone. I've updated the play services to v10.0.1 but still no good. When connected to android studio with debugger I get the message: 'local module descriptor class for com.google.android.gms.vision.dynamite not found'. I've tried the app in other android 4.2.2 device. It works, but for some reason it doesn't work in mine. Can anyone help me with the above error? Some libraries I'm missing perhaps?

我是Google Mobile Vision api的新手,我一直在使用条形码检测器类来检测条形码。该应用程序工作正常但它在我的Android 4.2.2手机中不起作用。我已经将播放服务更新到v10.0.1但仍然没有用。当使用调试器连接到android studio时,我收到消息:'找不到com.google.android.gms.vision.dynamite的本地模块描述符类'。我在其他android 4.2.2设备上尝试过该应用程序。它有效,但由于某种原因它不适用于我的。任何人都可以帮我解决上述错误吗?有些图书馆我也许想念?

2 个解决方案

#1


0  

Free up some memory and you should be good to go.I was facing the same issue when I had around 800MB of free memory. I made it to 2GB and its working fine now.

释放一些内存,你应该好好去。当我有大约800MB的可用内存时,我遇到了同样的问题。我做到了2GB,现在工作正常。

#2


0  

I am also suffered with the same issue. I have resolved in the following way

我也遇到了同样的问题。我已经通过以下方式解决了问题

Clear the app data from settings.

从设置中清除应用数据。

Its working for me.

它为我工作。

source : https://github.com/googlesamples/android-vision/issues/164

来源:https://github.com/googlesamples/android-vision/issues/164

#1


0  

Free up some memory and you should be good to go.I was facing the same issue when I had around 800MB of free memory. I made it to 2GB and its working fine now.

释放一些内存,你应该好好去。当我有大约800MB的可用内存时,我遇到了同样的问题。我做到了2GB,现在工作正常。

#2


0  

I am also suffered with the same issue. I have resolved in the following way

我也遇到了同样的问题。我已经通过以下方式解决了问题

Clear the app data from settings.

从设置中清除应用数据。

Its working for me.

它为我工作。

source : https://github.com/googlesamples/android-vision/issues/164

来源:https://github.com/googlesamples/android-vision/issues/164