Build Failed with analytics and fcm

  • What went wrong:
    Execution failed for task ‘:processDebugGoogleServices’.

Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at or updating the version of to 9.0.0.

I am facing this issue whenever am using google analytics and fcm plugin at a time, if I use both plugins individually that is working fine. Please help me. Thanks in advance.