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

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

    same issue i have.

    i tired all possible solutions that i found. but non were worked.

    always got this error

    Cannot add task ':processDebugGoogleServices' as a task with that name already exists
    

    Now, i solved it.

    1) first i checked my config.xml

    2) and removed unnecessary plugin. (I used firebase fcm plugin for pushnotification, but there was two unnecessary plugin phonegap-plugin-push and cordova-plugin-customurlscheme. I removed both these plugins)

    3) then removed platform.

    4) then add platform

    5) then build it.

    6) now it build successfully.

提交回复
热议问题