-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ML Kit on ASUS phone can't download model #59
Comments
@flighk I see this message in your logs:
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? |
Hello
I have tested and joined the Play services tester. |
i have the same issue did u find a solution |
@filghk |
PLAY(APP)-Settings @khahmad |
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), |
@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 |
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. Phone: Vodafone N9 Lite
You can wait all you want, but nothing happens... |
@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 |
I'm also having this issue on Android Go phones. |
@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. |
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 |
Same issue as well on Nexus One (8.1.0 Go). |
Same issue as well on... - Describe your environment |
Having the same issue on:
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. |
Similar issue with Telpo TPS 900..Barcode scanning fails |
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! |
This issue still exists on my device even with latest Play Services beta |
|
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. |
If there any API can check these dependencies not available |
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 |
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. |
I have the same issue, two devices with Android 7.1.1 and 7.1.2 It's been a month researching and no clues. I think it's an Android thing. |
Same issue mlkit on my app works on my phone only , not in the emulators or in my testers phones |
Hi, sorry about your frustration. To understand more about what is happening, could you send some bug reports to this email address: songchenxi@google.com? 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. |
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. |
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 |
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. |
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>
.
|
Having the same issue on Xiaomi MI 8 SE.
Play Store version: 20.4.18 |
I got the sam issue 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. |
GMSCore updates automatically with network connection. |
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 songchenxi@google.com so that I can better understand what happened when requesting a download from your device? |
Xiaomi Redmi Note 8 and Xiaomi Redmi 5 plus error |
Step 1: Describe your environment
Step 2: Describe the problem:
This phone cannot download the model no matter how many times it is triggered.
I can't download it when I restore my phone.
Other brands are currently in perfect use.
Observed Results:
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.zzjl.zza(Unknown Source:23)
at com.google.android.gms.internal.firebase_ml.zzjl.zza(Unknown Source:42)
at com.google.android.gms.internal.firebase_ml.zzij.call(Unknown Source:3)
at com.google.android.gms.internal.firebase_ml.zzie.zza(Unknown Source:29)
at com.google.android.gms.internal.firebase_ml.zzif.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)
2019-02-15 08:55:52.810 3546-3546/? E/BarcodeScanProc: Barcode detection failed com.google.firebase.ml.common.FirebaseMLException: Waiting for the barcode detection model to be downloaded. Please wait.
Expected Results:
How do I use it on my ASUS phone?
The text was updated successfully, but these errors were encountered: