How to solve GradleException: No matching client found for package name in Android studio.
This error happens when you have changed the name of your package.
In my case , i obtain this error too :
Execution failed for task ‘:app:processDebugGoogleServices
You need to edit your file google-services.json , normally under the root of your project
change the name of the package inside this part of code :
{
« client_info »: {
« mobilesdk_app_id »: « 1:956077617501:android:fca168e8bb2917dc »,
« android_client_info »: {
« package_name »: « com.mynewpackage.xxx »
}
},
Clean and rebuild your project
If you encouter another kind of problem and another solution for this error message, you can drop a comment for the benefit of the community and get the maximum of use cases as possible !
You may be interested in :