Skip to content Skip to sidebar Skip to footer

Problem In Integrating 'com.google.gms.google-services' Plugin With Android App

When I'm trying to put apply plugin: 'com.google.gms.google-services' at the bottom of my build gradle or anywhere else inside my apps build gradle I get the following error: In pr

Solution 1:

I tested this workaround and this seems to work. Add the following in your dependencies block:

implementation 'com.google.android.gms:play-services-vision-image-label:18.0.4'

Solution 2:

implementation 'com.google.android.gms:play-services-vision:20.1.1'
implementation 'com.google.android.gms:play-services-vision-common:19.1.1'
implementation "com.google.android.gms:play-services-vision-face-contour-internal:16.0.2"
implementation 'com.google.android.gms:play-services-vision-image-label:18.0.5'
implementation 'com.google.firebase:firebase-ml-vision:24.1.0'
implementation 'com.google.firebase:firebase-ml-vision-face-model:20.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:22.0.4'
implementation 'org.tensorflow:tensorflow-lite:2.0.0'

Follow this link for more detail- https://github.com/firebase/firebase-android-sdk/issues/1904

Solution 3:

You may just have to update your dependencies: File-->Project Structures-->Dependencies Then in the lower part you will see any dependencies that need updating...Worked for me

Post a Comment for "Problem In Integrating 'com.google.gms.google-services' Plugin With Android App"