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

前端 未结 24 1960
灰色年华
灰色年华 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:27

    In my case i have multiple product flavors. It used to work earlier. It stopped working after updating project gradle version to 4.0.1 and 'google-services:4.3.4'.

    I got error like 'Task :app:processDebugGoogleServices FAILED' when i run the project.

    I replaced 'google-services.json' in app module with 'my-product-flavor/google-services.json'. It is working fine now.

提交回复
热议问题