Code Monkey home page Code Monkey logo

Comments (37)

Jack-Dane avatar Jack-Dane commented on May 18, 2024 1

I am having the same issue as this with OCR.

When I uninstall my android app clear the Google Play Services' data to remove Firebase modules and reinstall my app this issue occurs. The only way to fix this issue is to restart my device and run the android app again.

Google Play Services: 20.09.14
Android: 9.0.6

from mlkit.

samtstern avatar samtstern commented on May 18, 2024

@flighk I see this message in your logs:

com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

This implies that your phone does not have a recent version of Google Play services. Are you signed in with a google account on the phone? If so can you check (in Setttings > Applications) what the version of Google Play services is?

from mlkit.

filghk avatar filghk commented on May 18, 2024

Hello
I have a Google Account login
I have provided

  • Google Play Services version: 13.4.11-all [0] [PR] 231519563
  • Play Services 15.0.90(110306-231259764)
    I clicked and told me that it is the latest version.

I have tested and joined the Play services tester.
Some of my phones need to join the tester to use ML Kit.
ASUS mobile phone testers can not use the ML Kit.

from mlkit.

khahmad avatar khahmad commented on May 18, 2024

i have the same issue did u find a solution

from mlkit.

samtstern avatar samtstern commented on May 18, 2024

@filghk 15.0.90 is indeed the latest version, but where are you seeing 13.4.11-all? Can you maybe provide a screenshot for that?

from mlkit.

filghk avatar filghk commented on May 18, 2024

PLAY(APP)-Settings
The screenshot is my phone.
I have returned my colleagues to the ASUS phone.
The app I wrote is for the company.
So I can get a lot of different phone tests.
Most of them can be used by simply updating the Play Services and PLAY stores.
Only a small part like this Asus phone can't be used.

@khahmad
Provide a way for you
In my many tested machines
Some are due to the capacity is too low to download the model failed
A capacity below 1GB will generally fail
The mobile phone capacity given by our company is very small
Most of my processing is for this reason

play1
play2

from mlkit.

khahmad avatar khahmad commented on May 18, 2024

Hello @filghk i use a devices for testing using by all my company, the apps was worked fine before the new update of google play service(15.0.90(110306-231259764), i tried to do a factory reset to the devices and check the free space (11 Gb free space),
i tried to install the app to my personal devices it is worked fine with google play service(15.0.90(040408..), also i triedd with other devices with the same version of google play service of testing device(15.0.90(110306-231259764) but it is not working so the problem is with the google play service(110306-231259764) if anyone has a solution for this please reply ASAP

from mlkit.

samtstern avatar samtstern commented on May 18, 2024

@filghk it does seem like you have all the right versions here ... to be honest I am not sure what is failing here. I will have to ask around

from mlkit.

foozeNZ avatar foozeNZ commented on May 18, 2024

I have the same issue with both this sample and the older vision sample. (See issue post here: googlesamples/android-vision#408 ). Tried all the same fixes (make sure things are updated, clearing cache, even a factory reset).

My best theory at this stage is it's something to do with Android "Go". I can't reproduce the problem on anything other than our Vodafone N9 lite, which is Android "Go" edition (others are not). Only happens with the barcode detection part of this app, other recognition is fine.
The older vision sample (and our app that uses it) used to work fine, we got the first reported problem on the 7th of Feb 2019.

Phone: Vodafone N9 Lite
Android ver: 8.1.0 - Android Go
Play services version: 15.0.90 (110304-231259764)

02-26 09:20:51.395 25412-25453/com.google.firebase.samples.apps.mlkit E/BarcodeNativeHandle: Error Loading module com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. at com.google.android.gms.dynamite.DynamiteModule.load(Unknown Source:8) at com.google.android.gms.internal.vision.zzm.zzq(Unknown Source:28) at com.google.android.gms.internal.vision.zzm.isOperational(Unknown Source:9) at com.google.android.gms.vision.barcode.BarcodeDetector.isOperational(Unknown Source:23) at com.google.android.gms.internal.firebase_ml.zzoj.zza(Unknown Source:23) at com.google.android.gms.internal.firebase_ml.zzoj.zza(Unknown Source:42) at com.google.android.gms.internal.firebase_ml.zznd.call(Unknown Source:4) at com.google.android.gms.internal.firebase_ml.zzmy.zza(Unknown Source:29) at com.google.android.gms.internal.firebase_ml.zzmz.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at com.google.android.gms.internal.firebase_ml.zze.dispatchMessage(Unknown Source:6) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65) 02-26 09:20:51.409 25412-25412/com.google.firebase.samples.apps.mlkit E/BarcodeScanProc: Barcode detection failed com.google.firebase.ml.common.FirebaseMLException: Waiting for the barcode detection model to be downloaded. Please wait.

You can wait all you want, but nothing happens...

from mlkit.

filghk avatar filghk commented on May 18, 2024

ASUS_X00RD checked for Android Go
go

from mlkit.

Riaan-Crause-Kohde avatar Riaan-Crause-Kohde commented on May 18, 2024

@foozeNZ I think you might be onto something. The only device I'm getting this on is running Android Go (Adding it so the Firebase team have more info).

Phone: Samsung Galaxy J2 Core
Android ver: 8.1.0 - Android Go
Play services version: 16.0.89 (110304-239467275)

from mlkit.

GianfrancoMS avatar GianfrancoMS commented on May 18, 2024

I'm also having this issue on Android Go phones.

from mlkit.

mic- avatar mic- commented on May 18, 2024

@foozeNZ I've seen the same logs on Moto E5 Play running Android 8.1.0 Go / Google Play Services 16.0.91 (except that I'm using GMS Vision rather than ML Kit).

The only way I've been able to fix it is by deactivating Google Play Services in the app manager and downgrading to an older version (12.8.76) when being asked if I wanted to do so, and then activating Google Play Services again.

Downloading the barcode library worked after that. However, if I upgraded to 16.0.91 again even after having downloaded the barcode library successfully, it stopped working again. Barcode scanning with version 16.0.91 works just fine on a Galaxy S7 running Android 7.0 though, so there's something about this combination of Android version and Google Play Services version.

from mlkit.

dannevesdantas avatar dannevesdantas commented on May 18, 2024

I'm facing exactly the same issue @mic- described, also a moto e5 play running Android 8.1.0 Go and Google Play Services 16.0.91

from mlkit.

gjsalot avatar gjsalot commented on May 18, 2024

Same issue as well on Nexus One (8.1.0 Go).

from mlkit.

lucasviveiros avatar lucasviveiros commented on May 18, 2024

Same issue as well on...

- Describe your environment
Android device: SAMSUNG GALAXY J4 CORE
Android OS version: 8.1.0 Go
Google Play Services version: 17.7.85

from mlkit.

multiprecision avatar multiprecision commented on May 18, 2024

Having the same issue on:

    Android device: XiaoMi Redmi Go
    Android version: 8.1.0 Go
    Google Play services version: 17.7.85 (110306-253824076)
    Firebase version: firebase-ml-vision 22.0.0

It's worth noting that only the barcode detector is having this issue. The face detector, the object detector, and the other detectors seem okay.

from mlkit.

jogiji avatar jogiji commented on May 18, 2024

Similar issue with Telpo TPS 900..Barcode scanning fails

from mlkit.

meJevin avatar meJevin commented on May 18, 2024

This is a real issue. Can we please get some help here?

from mlkit.

chrisito avatar chrisito commented on May 18, 2024

This is a real issue. Can we please get some help here?

Sorry for the radio silence. There was an issue with Google Play Services not allowing download on Android Go devices of the modules required for Barcode, Face and Text, both for ML Kit and Mobile Vision. It has been resolved in version 18.3.82 of Google Play Services, which started rollout a couple of weeks back and should be on all phones now. Can you check if you have this version or higher? (see Settings --> Apps --> Google Play Services). Thanks!

from mlkit.

jogiji avatar jogiji commented on May 18, 2024

This issue still exists on my device even with latest Play Services beta

from mlkit.

chrisito avatar chrisito commented on May 18, 2024

This issue still exists on my device even with latest Play Services beta
@jogiji Which phone do you have and what version of Play Services? Thanks

from mlkit.

mic- avatar mic- commented on May 18, 2024

I've re-tested this quickly on a Nokia 1 and a Moto e5 Play - both of which have had trouble downloading the barcode library in the past - and it appears to be working with the latest Google Play Services version (18.7.something). I'll probably have to test some more before I say anything conclusively, but it looks promising so far.

from mlkit.

Tougee avatar Tougee commented on May 18, 2024

If there any API can check these dependencies not available

from mlkit.

klaszlo8207 avatar klaszlo8207 commented on May 18, 2024

Any Fix for this? Same thing for Huawei Mate 20 PRO

I need to use ocr/text recognition

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.

google play store version 18.8.16-all

from mlkit.

TonyZhang19950601 avatar TonyZhang19950601 commented on May 18, 2024

Have same issue on download ocr models. I found that sometimes the ocr_start file will not be deleted after the ocr model has been successfully downloaded by GMS. In that case, the model status will always be downloading even if the model has already been downloaded into com.google.android.

from mlkit.

Freakadroid avatar Freakadroid commented on May 18, 2024

I have the same issue, two devices with Android 7.1.1 and 7.1.2
Google play services 20.06.16
Using
implementation 'com.google.firebase:firebase-ml-vision:24.0.1'
classpath 'com.google.gms:google-services:4.3.3'

It's been a month researching and no clues. I think it's an Android thing.
I have a release date on March 20th and I am going to fail because of GOOGLE, not some cheap library no one uses.
This is ridiculous. The models never download, Iis there anyone looking into this?

from mlkit.

msxenon avatar msxenon commented on May 18, 2024

Same issue mlkit on my app works on my phone only , not in the emulators or in my testers phones
Module ocr not found

from mlkit.

cs-googler avatar cs-googler commented on May 18, 2024

I have the same issue, two devices with Android 7.1.1 and 7.1.2
Google play services 20.06.16
Using
implementation 'com.google.firebase:firebase-ml-vision:24.0.1'
classpath 'com.google.gms:google-services:4.3.3'

It's been a month researching and no clues. I think it's an Android thing.
I have a release date on March 20th and I am going to fail because of GOOGLE, not some cheap library no one uses.
This is ridiculous. The models never download, Iis there anyone looking into this?

Hi, sorry about your frustration. To understand more about what is happening, could you send some bug reports to this email address: [email protected]?

Also, we have identified a bug earlier with module downloading which requires a reboot of the device sometimes to get recovered. The fix will be available in the next GMSCore release.

from mlkit.

cs-googler avatar cs-googler commented on May 18, 2024

Any Fix for this? Same thing for Huawei Mate 20 PRO

I need to use ocr/text recognition

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.

google play store version 18.8.16-all

Hi, you will need to update your google play store version as the module download is only supported for the most recent gmscore versions. Currently, the earliest version we support is 19.8.31. There might be some reasons that your device was not getting automatically updated to the latest versions.
Once you update your gmscore to the latest version, note that we have identified a bug earlier with module downloading which requires a reboot of the device sometimes to get recovered. The fix will be available in the next GMSCore release.

from mlkit.

cs-googler avatar cs-googler commented on May 18, 2024

I am having the same issue as this with OCR.

When I uninstall my android app clear the Google Play Services' data to remove Firebase modules and reinstall my app this issue occurs. The only way to fix this issue is to restart my device and run the android app again.

Google Play Services: 20.09.14
Android: 9.0.6

Hi, we have identified a bug earlier with module downloading which requires a reboot of the device sometimes to get recovered(specifically when the gmscore version got updated recently). The fix will be available in the next GMSCore release.

from mlkit.

Jack-Dane avatar Jack-Dane commented on May 18, 2024

from mlkit.

beersheba avatar beersheba commented on May 18, 2024

Having the same issue on Xiaomi MI 8 SE.

2020-06-23 18:01:02.165 14211-14553/com.google.codelab.mlkit 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.
2020-06-23 18:01:02.166 14211-14553/com.google.codelab.mlkit W/e.codelab.mlki: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
2020-06-23 18:01:02.168 14211-14211/com.google.codelab.mlkit W/System.err: com.google.mlkit.common.MlKitException: Waiting for the text recognition model to be downloaded. Please wait.

Play Store version: 20.4.18
Google Play Services 20.21.17

from mlkit.

jackietai avatar jackietai commented on May 18, 2024

I got the sam issue
Xiaomi MI 8 Lite MIUI 11.0.2
All the local OCR have this issue.
will this issue going to fix at all, it seem quite sometime!

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.

from mlkit.

cs-googler avatar cs-googler commented on May 18, 2024

Thank you for your response, Sorry I am new to android development, does this mean the issue is related to an android update? As In does GMScore automatically update when it is released to android? Thank you

On Wed, 15 Apr 2020, 22:21 Chenxi Song, @.***> wrote: I am having the same issue as this with OCR. When I uninstall my android app clear the Google Play Services' data to remove Firebase modules and reinstall my app this issue occurs. The only way to fix this issue is to restart my device and run the android app again. Google Play Services: 20.09.14 Android: 9.0.6 Hi, we have identified a bug earlier with module downloading which requires a reboot of the device sometimes to get recovered(specifically when the gmscore version got updated recently). The fix will be available in the next GMSCore release. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/firebase/quickstart-android/issues/805#issuecomment-614286537, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEUD4PUAU2PFKKEPEUGA5LRMYQN5ANCNFSM4GXTARIA .

GMSCore updates automatically with network connection.

from mlkit.

cs-googler avatar cs-googler commented on May 18, 2024

I got the sam issue
Xiaomi MI 8 Lite MIUI 11.0.2
All the local OCR have this issue.
will this issue going to fix at all, it seem quite sometime!

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.

Hi, sorry for the late reply. Text recognition model is large. We did find that on some phones, more download retries are needed. Do you still have this issue? If so, do you mind share a bug report by sending it to [email protected] so that I can better understand what happened when requesting a download from your device?

from mlkit.

Pragramer avatar Pragramer commented on May 18, 2024

Xiaomi Redmi Note 8 and Xiaomi Redmi 5 plus error
E/Vision: 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.
E/WordScannerFragment: Text recognition error
com.google.mlkit.common.MlKitException: Waiting for the text recognition model to be downloaded. Please wait.
at com.google.mlkit.vision.text.internal.zze.zzc(com.google.android.gms:play-services-mlkit-text-recognition@@16.1.2:18)
at com.google.mlkit.vision.text.internal.zze.run(Unknown Source:2)
at com.google.mlkit.vision.common.internal.MobileVisionBase.zza(Unknown Source:2)
at com.google.mlkit.vision.common.internal.zzc.call(Unknown Source:4)
at com.google.mlkit.common.sdkinternal.ModelResource.zza(Unknown Source:37)
at com.google.mlkit.common.sdkinternal.zzn.run(Unknown Source:10)
at com.google.mlkit.common.sdkinternal.zzp.run(com.google.mlkit:common@@17.1.0:2)
at com.qihui.elfinbook.scanner.viewmodel.ScopedExecutor$execute$1.run(ScopedExecutor.kt:16)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)

from mlkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.