vision-camera-image-labeler
vision-camera-image-labeler copied to clipboard
App crash after installing plugin
Hi, After installing this Plugin my android app crashes with "Didn't find class "com.google.mlkit.vision.common.internal.Detector"" Message
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'
}