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

前端 未结 24 1952
灰色年华
灰色年华 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条回答
  •  -上瘾入骨i
    2020-11-30 01:44

    had the same issue as described by @scottyab.

    all references were 8.4.0 but it failed due to a reference to app-measurement 8.3.0 that i did not reference anywhere (but one of the dependencies?). you can see the problem if you hover over the bad(red) dependency in Android Studio. explicitly adding

    compile 'com.google.android.gms:play-services-measurement:8.4.0'
    

    to app.gradle solved the issue.

提交回复
热议问题