android-vision icon indicating copy to clipboard operation
android-vision copied to clipboard

Unable to locate DynamiteModule

Open ssoliwal opened this issue 9 years ago • 5 comments
trafficstars

I am trying to run OCR after user takes the image in my app, i have converted image from JPG to NV21 but i get the following error:

E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.vision.dynamite.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/camera.demo-1/base.apk"],nativeLibraryDirectories=[/data/app/camera.demo-1/lib/arm, /data/app/camera.demo-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]

Do i need any other dependencies apart from 'compile 'com.google.android.gms:play-services-vision:9.0.0+''?

ssoliwal avatar Sep 12 '16 23:09 ssoliwal

Can you please check your gmscore apk version by going to setting -> Apps -> Google Play Services, and paste the version number here?

liuyl avatar Sep 13 '16 14:09 liuyl

9.4.52

Please note, i can run the sample app with no issues.

It's just that when i use the api in my app, it fails with that error.

ssoliwal avatar Sep 13 '16 17:09 ssoliwal

You GmsCore version looks good.

And you don't need any other dependencies other than vision. Can you use play-services-vision:9.4.0 instead of 9.0.0? Sample app depends on 9.4.0, so I think worth a try.

liuyl avatar Sep 14 '16 14:09 liuyl

Hi, I had the same problem and I can confirm the error does no longer occur after I used play-services-vision:9.4.0 instead of 9.0.0.

Thanks!

PerMagnusH avatar Mar 16 '18 14:03 PerMagnusH

we have the same issue , any news ?

nininea1 avatar Feb 28 '19 12:02 nininea1