Android Error No matching client found for package name 'company.payname.packagename'

1

Hello it turns out that I do not have any compilation errors in my android studio, but when I try to run the app, I get this Gradle error:

  

No matching client found for package name   'company.packagename.packagename'

Does anyone know how to solve this?

    
asked by Upset Grade 25.04.2018 в 15:08
source

1 answer

1

The problem occurs because the google-services.json file contains a different package definition than your project.

The "package_name" defined within the google-services.json file must be that of the application.

    
answered by 25.04.2018 / 16:49
source