Skip to content
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

App crash after installing plugin #19

Open
netin1202 opened this issue Dec 26, 2022 · 1 comment
Open

App crash after installing plugin #19

netin1202 opened this issue Dec 26, 2022 · 1 comment

Comments

@netin1202
Copy link

netin1202 commented Dec 26, 2022

Hi,
After installing this Plugin my android app crashes with "Didn't find class "com.google.mlkit.vision.common.internal.Detector"" Message

@sudharsanvishnu
Copy link

sudharsanvishnu commented Jan 9, 2023

Im had crash issue then i found we have to add Google Label images with ML Kit on Android - https://developers.google.com/ml-kit/vision/image-labeling/android

Try these two fixes

app/build.gradle

dependencies {
  // ...
  // Use this dependency to bundle the model with your app
       implementation 'com.google.mlkit:image-labeling:17.0.7'
}

For using the model in Google Play Services:

dependencies {
    // ...
    // Use this dependency to use the dynamically downloaded model in Google Play Services
      implementation 'com.google.android.gms:play-services-mlkit-image-labeling:16.0.8'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants