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

Local module descriptor class for com.google.android.gms.vision.dynamite not found.

Open scottyyih opened this issue 8 years ago • 33 comments

On my device, face tracking fails with errors: W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801 W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801 D/CameraHardware( 207): CameraHardware::previewThread: posting preview frame...

scottyyih avatar Dec 13 '16 07:12 scottyyih

Hi. The "Local module descriptor class for com.google.android.gms.vision.dynamite not found" is benign, it has nothing to do with if your detector is operational or not. That's why it's a warning instead of error.

Can you check if your device is at low storage? That's the most common reason why detector doesn't work.

liuyl avatar Dec 13 '16 23:12 liuyl

Thank you for your reply. But my device still has 1.57GB free space. It looks like that the module com.google.android.gms.vision.dynamite:801 need to be downloaded remotely. And no internet access on my device

scottyyih avatar Dec 15 '16 07:12 scottyyih

My device

wanamr87 avatar Dec 16 '16 03:12 wanamr87

Hi scottyyih.

Have you resolved the problem? I'm getting it too.

Let me know if you resolved it, please.

I'm trying to run the barcode reader app in my Xperia Z2, Android 6.0.1:

W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 801 W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801 I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 801 D/Camera: app passed NULL surface D/BarcodeMain: No barcode captured, intent data is null

dwmolina avatar Dec 20 '16 19:12 dwmolina

Hi scottyyih.

The "remote" in this log message doesn't mean "cloud", it means Google Play Service which is already installed on your device. If your device doesn't have internet connection, then that's the reason. The API does a download at the first time it is used.

liuyl avatar Dec 24 '16 14:12 liuyl

Establishing an internet connection successfully solved my problem.

yinguobing avatar Feb 28 '17 08:02 yinguobing

Hi there, I am getting this issue in my face detector app. Does anyone know what's the cause of it? Except the internet connection how can I resolve this issue because my device is connected to the internet when I get this issue?

NalediMadlopha avatar May 21 '17 06:05 NalediMadlopha

I/Vision: libocr.so library load status: false Local module descriptor class for com.google.android.gms.vision.dynamite not found.

TThana avatar Jun 02 '17 21:06 TThana

Can't get it to work.

07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. 07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:1101 07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 1101 07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader I/Vision: Loading library libbarhopper.so 07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader I/Vision: libbarhopper.so library load status: false 07-08 16:36:29.168 4642-4642/com.google.android.gms.samples.vision.barcodereader W/NativeBarcodeDetectorHandle: Native barcode detector not yet available. Reverting to no-op detection.

Using vision api compile 'com.google.android.gms:play-services-vision:11.0.2'

Google Play Service installed 11.0.55

Internet Connection is available Free space is 2.76GB

kruyvanna avatar Jul 08 '17 09:07 kruyvanna

It worked by Clear All Data Wasted 4 hours :(

kruyvanna avatar Jul 08 '17 09:07 kruyvanna

Hi there, I am getting an issue with Google play store. Although I have installed Google pay services...my code is not working with an error that version is null. W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. E/ActivityThread: Failed to find provider info for com.google.android.gms.chimera W/DynamiteModule: Failed to retrieve remote module version. W/GooglePlayServicesUtil: Google Play Store is missing. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:0 E/FaceNativeHandle: Error creating remote native handle com.google.android.gms.dynamite.DynamiteModule$zzc: No acceptable module found. Local version is 0 and remote version is 0. at com.google.android.gms.dynamite.DynamiteModule.zza(Unknown Source) at com.google.android.gms.internal.fb.zzDR(Unknown Source) at com.google.android.gms.vision.face.internal.client.zza.(Unknown Source) at com.google.android.gms.vision.face.FaceDetector$Builder.build(Unknown Source) at com.example.vasudha.facedetection.MainActivity$1.onClick(MainActivity.java:55) at android.view.View.performClick(View.java:4756) at android.view.View$PerformClick.run(View.java:19749) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) W/FaceNativeHandle: Native handle not yet available. Reverting to no-op handle. W/System.err: android.content.pm.PackageManager$NameNotFoundException: com.google.android.gms W/System.err: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:114) W/System.err: at com.example.vasudha.facedetection.MainActivity$1.onClick(MainActivity.java:60) W/System.err: at android.view.View.performClick(View.java:4756) W/System.err: at android.view.View$PerformClick.run(View.java:19749) W/System.err: at android.os.Handler.handleCallback(Handler.java:739) W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95) W/System.err: at android.os.Looper.loop(Looper.java:135) W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5221) W/System.err: at java.lang.reflect.Method.invoke(Native Method) W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) D/*abcd: Google Play Store version is null W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found. W/GooglePlayServicesUtil: Google Play Store is missing. I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:0 E/FaceNativeHandle: Error creating remote native handle com.google.android.gms.dynamite.DynamiteModule$zzc: No acceptable module found. Local version is 0 and remote version is 0. at com.google.android.gms.dynamite.DynamiteModule.zza(Unknown Source) at com.google.android.gms.internal.fb.zzDR(Unknown Source) at com.google.android.gms.internal.fb.isOperational(Unknown Source) at com.google.android.gms.vision.face.FaceDetector.isOperational(Unknown Source) at com.example.vasudha.facedetection.MainActivity$1.onClick(MainActivity.java:67) at android.view.View.performClick(View.java:4756) at android.view.View$PerformClick.run(View.java:19749) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) V/RenderScript: 0xa5b58c00 Launching thread(s), CPUs 2 Application terminated.

vasudha1997 avatar Jul 23 '17 01:07 vasudha1997

Restarting Android Studio worked for me. This problem usually occur when I try a new emulator.

Alex13832 avatar Aug 14 '17 20:08 Alex13832

It happen only in certain phone. I think its google play service bug. I resolved by remove camera permission and re enter the application and give camera permission again.

heru762004 avatar Dec 07 '17 08:12 heru762004

Had similar problem. Loading app onto device, app runs, but google-vision not functioning. Deleting the app, doing a "Rebuild" in Android Studio then re-deploying onto device fixed the issue for me.

ghost avatar Feb 12 '18 00:02 ghost

04-20 11:53:04.462 1474-1481/com.mypackage.appName I/art: Thread[2,tid=1481,WaitingInMainSignalCatcherLoop,Thread*=0xb70a7528,peer=0x32c2a0a0,"Signal Catcher"]: reacting to signal 3 04-20 11:53:04.952 1474-1481/com.mypackage.appName I/art: Wrote stack traces to '/data/anr/traces.txt' 04-20 11:53:10.512 1474-1474/com.mypackage.appName W/ResourcesManager: getTopLevelResources: com.mypackage.appName for user 0 04-20 11:53:10.622 1474-1474/com.mypackage.appName I/CrashlyticsCore: Initializing Crashlytics 2.6.0.22 04-20 11:53:10.652 1474-2152/com.mypackage.appName W/ResourcesManager: getTopLevelResources: com.google.android.gms for user 0 04-20 11:53:10.652 1474-2152/com.mypackage.appName W/ResourcesManager: Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources. 04-20 11:53:10.652 1474-2152/com.mypackage.appName W/ResourcesManager: Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources. 04-20 11:53:10.792 1474-1474/com.mypackage.appName I/FA: App measurement is starting up, version: 11020 04-20 11:53:10.792 1474-1474/com.mypackage.appName I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE 04-20 11:53:10.842 1474-1474/com.mypackage.appName I/FA: To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app com.mypackage.appName 04-20 11:53:11.082 1474-1474/com.mypackage.appName I/CrashlyticsInitProvider: CrashlyticsInitProvider initialization successful 04-20 11:53:11.142 1474-2140/com.mypackage.appName I/CrashlyticsCore: Registered Firebase Analytics event listener 04-20 11:53:11.362 1474-1474/com.mypackage.appName I/FirebaseInitProvider: FirebaseApp initialization successful 04-20 11:53:11.382 1474-1474/com.mypackage.appName E/TypefaceUtil: Can not set custom font fonts/roboto_light.ttf instead of serif 04-20 11:53:11.392 1474-2174/com.mypackage.appName W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found. 04-20 11:53:11.392 1474-1474/com.mypackage.appName D/InjectionManager: InjectionManager 04-20 11:53:11.402 1474-1474/com.mypackage.appName D/InjectionManager: fillFeatureStoreMap com.mypackage.appName 04-20 11:53:11.402 1474-1474/com.mypackage.appName I/InjectionManager: Constructor com.mypackage.appName, Feature store :{} 04-20 11:53:11.402 1474-1474/com.mypackage.appName I/InjectionManager: featureStore :{} 04-20 11:53:11.402 1474-2177/com.mypackage.appName I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0 04-20 11:53:11.402 1474-2177/com.mypackage.appName I/DynamiteModule: Selected local version of com.google.android.gms.flags 04-20 11:53:11.412 1474-2177/com.mypackage.appName W/ResourcesManager: getTopLevelResources: com.google.android.gms for user 0 04-20 11:53:11.412 1474-2177/com.mypackage.appName W/ResourcesManager: Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources. 04-20 11:53:11.412 1474-2177/com.mypackage.appName W/ResourcesManager: Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources. 04-20 11:53:11.422 1474-2174/com.mypackage.appName W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.

arshadzya avatar Apr 20 '18 06:04 arshadzya

Guys, after hours of challenge for me the problem was solved buy Updating Google Play Services to version (12.6.85) and I restarted the device and guess what? The app worked fine. For updating this Google play service I followed this link https://www.androidpit.com/install-google-play-services-apk

iaubain avatar Jun 20 '18 15:06 iaubain

Check list:

  1. Internet connection Check connection
  2. Storage permissions add android:installLocation="auto" to tag
  3. Metadata add
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" /> <!--version-->
        <meta-data
            android:name="com.google.android.gms.vision.DEPENDENCIES"
            android:value="barcode" /> <!--barcode,face,ocr-->
  1. Insufficient storage Check storage for free space

eberkheev avatar Feb 06 '19 10:02 eberkheev

I had got same problem. All advices of this topic didn't help me. After 4 hours of research I had got a solution for me. I resolved by remove camera permission FOR google play service and re enter the application and give camera permission for google play service again.

Fizik2 avatar Feb 23 '20 08:02 Fizik2

I have the same problem I tried all solution but not work :/ pleas help me to solve this problem

aktham0 avatar Mar 04 '20 23:03 aktham0

This my Problem : 😣 E/Vision: Error loading module com.google.android.gms.vision.ocr optional module true: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

aktham0 avatar Mar 04 '20 23:03 aktham0

I have the same. my app has worked without any problem until today but these are my errors: 04-11 10:20:16.041 15093-15093/mitofit.com.rapidkit E/Vision: Error loading module com.google.android.gms.vision.barcode optional module true: gg: No acceptable module found. Local version is 0 and remote version is 0. 04-11 10:20:16.041 15093-15093/mitofit.com.rapidkit I/Vision: Request download for engine barcode is a no-op because rate limiting 04-11 10:20:16.041 15093-15093/mitofit.com.rapidkit E/QREader: Barcode recognition libs are not downloaded and are not operational

Aminnasseri avatar Apr 11 '20 14:04 Aminnasseri

I'm experiencing this error when trying to implement firebase ml vision - text recognition.

E/Vision : Error loading module com.google.android.gms.vision.ocr optional module true: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

I tried all recommended solutions. Any progress on this?

xzec avatar May 12 '20 14:05 xzec

hello My problem is as follows and I can not use OCR to read the text! Can anyone help me? Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not found. I/DynamiteModule(27014): Considering local module com.google.android.gms.vision.dynamite.ocr:0 and remote module com.google.android.gms.vision.dynamite.ocr:0 W/DynamiteModule(27014): Local module descriptor class for com.google.android.gms.vision.ocr not found. I/DynamiteModule(27014): Considering local module com.google.android.gms.vision.ocr:0 and remote module com.google.android.gms.vision.ocr:0 E/Vision (27014): Error loading optional module com.google.android.gms.vision.ocr: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. W/DynamiteModule(27014): Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not found. I/DynamiteModule(27014): Considering local module com.google.android.gms.vision.dynamite.ocr:0 and remote module com.google.android.gms.vision.dynamite.ocr:0 W/DynamiteModule(27014): Local module descriptor class for com.google.android.gms.vision.ocr not found. I/DynamiteModule(27014): Considering local module com.google.android.gms.vision.ocr:0 and remote module com.google.android.gms.vision.ocr:0 E/Vision (27014): Error loading optional module com.google.android.gms.vision.ocr: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. D/skia (27014): onFlyCompress D/skia (27014): SkJpegCodec::onGetPixels + D/skia (27014): SkJpegCodec::onGetPixels -

miladrashidizade avatar Sep 15 '20 20:09 miladrashidizade

@miladrashidizade I got the same issues did you solve it help, please

PhanithNoch avatar Jan 08 '21 04:01 PhanithNoch

I didnt remember but i think i used vpn 🤔

On Fri, Jan 8, 2021 at 7:43 AM PhaNith [email protected] wrote:

@miladrashidizade https://github.com/miladrashidizade I got the same issues did you solve it help, please

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-vision/issues/164#issuecomment-756535113, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOBKKJYM4NSZOE4TLXHTZ3SY2A67ANCNFSM4CZNW73Q .

Aminnasseri avatar Jan 08 '21 08:01 Aminnasseri

i fixed it this way 1- i added meta-data to AndroidManifest.xml 1 2- i created device containing 'Google Play Service' from AVD Manager. 2 3- i clicked 'Update Google Play Service' of the device and signed in with my google account 3

and work it 4

my dependencies in pubspec.yaml dependencies: flutter: sdk: flutter firebase_core: ^1.0.4 firebase_ml_vision: ^0.12.0+1 image_picker: ^0.7.4

gyoyen avatar Apr 24 '21 06:04 gyoyen

Check list:

  1. Internet connection Check connection
  2. Storage permissions add android:installLocation="auto" to tag
  3. Metadata add
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" /> <!--version-->
        <meta-data
            android:name="com.google.android.gms.vision.DEPENDENCIES"
            android:value="barcode" /> <!--barcode,face,ocr-->
  1. Insufficient storage Check storage for free space

Had same issue for few weeks. Made all of this steps, and added permission INTERNET. Used barcode and ocr in DEPENDENCIES. After I checked all elements to be set, it worked in Android 10 Emulator with play store and in my real device Android 11.

julianwue avatar Jul 21 '21 18:07 julianwue

if updating google and other stuff did not work for you it's possible that google does not offer you this service , to make sure that google let your ip use gms service's turn on your vpn for emulator and test it with webcam ( note that google will recognize your ip on real device even with vpn ) , for me it was running perfectly on emulator (with vpn) and not working on real device because i had iran ip ...

sina03030 avatar Aug 23 '21 20:08 sina03030

Sir i Have this problem Please If you have solution Let me Know then :

W/DynamiteModule(17808): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. I/DynamiteModule(17808): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0 W/ProviderInstaller(17808): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0. I/.group_chat_ap(17808): The ClassLoaderContext is a special shared library. I/.group_chat_ap(17808): The ClassLoaderContext is a special shared library. I/TetheringManager(17808): registerTetheringEventCallback:com.example.group_chat_app V/NativeCrypto(17808): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 295 native methods... W/.group_chat_ap(17808): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed) I/ProviderInstaller(17808): Installed default security provider GmsCore_OpenSSL W/ConnectivityManager.CallbackHandler(17808): callback not found for CALLBACK_AVAILABLE message

hassank185 avatar Aug 11 '22 15:08 hassank185

2. android:installLocation="auto"

Quisiera saber si a alguno de ustedes les ha dado este problema, me dice que W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.

mientras tanto mi aplicacion no puede acceder a internet, hasta que activo y desactivo el wifi o activo y desactivo los datos del dispositivo y mi aplicacion comienza a actualizar datos y por ende a tener acceso a internet.

Ya agote todos mis conocimientos porque es algo que venia funcionando muy bien y de un momento a otro se puso en esta situacion y no he podido soucionar.

Si alguno de ustedes les ha dado este problema y si supieron como solucionarlo les estare eternamente agradecido.

Saludos y Gracias

jlriverob avatar Sep 04 '22 13:09 jlriverob