Failure build for the run

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

No matching client found for package name ‘com.example.locate’

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Anyone can help me with this error?

That error has nothing to do with Gradle.
If you would do a simple Google search though, you would easily come up with sites like android - No matching client found for package name (Google Analytics) - multiple productFlavors & buildTypes - Stack Overflow :wink: