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?
for me, the device doesn't have google-play-service. I just download (google-play-service) from Google Play Store and update software. (oppo)
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.
Problem is emulator. Because it doesn't have provider, you should connect custom phone or build apk then try on your phone.
implementation 'com.google.android.gms:play-services-vision:20.1.3'
app > build.gradle > dependencies
–
Nd I had the Google play App disable, so i turned it enable and then i deleted my app data and it works for me.
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
In .NET MAUI I resolved this problem by replacing library:
Xamarin.GooglePlayServices.Ads.Lite
to
Xamarin.GooglePlayServices.Ads
© 2022 - 2024 — McMap. All rights reserved.