I am following this link to integrate Google sign-in in my android app.https://developers.google.com/identity/sign-in/android/start-integrating As given in last step on the
I fixed it without deleting apply plugin: 'com.google.gms.google-services'
I had the error Execution failed for task ':app:processDebugGoogleServices' because I was using two different versions of google services in my dependencies :
implementation "com.google.android.gms:play-services-maps:11.8.0"
implementation "com.google.android.gms:play-services-nearby:16.0.0"
I changed it to :
implementation "com.google.android.gms:play-services-maps:11.8.0"
implementation "com.google.android.gms:play-services-nearby:11.8.0"
Then it worked