Gradle Error:Execution failed for task ':app:processDebugGoogleServices'

前端 未结 24 2014
灰色年华
灰色年华 2020-11-30 01:09

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

24条回答
  •  一个人的身影
    2020-11-30 01:34

    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

提交回复
热议问题