Are you getting ‘No matching Client Found for Package Name’ error in Android java studio? Do you want to fix it perfectly? Don’t worry we are happy to help you in the following steps.
Contents
The following error keywords helps you to identify this error
Error:Execution failed for task No matching client found
Exactly what my error is as follow.
Error:Execution failed for task ‘:app:processAllcategoriesDebugfreeGoogleServices’. No matching client found for package name ‘com.my.app.package.name.debug’
The main reason is for this error is not having exact match of ‘Package ID’ now. Means your package ID which you are using currently differs from earlier usage.
Which have admob integration and some registration are already seems in google-services.json file.
Step 1: Go to Project Files from window
Step 2: Find for google-services.json mostly under src folder.
Step 3: open google-services.json and do the following changes.
You can see the blue strickout picture in the above space. In the same way you have to remove your package name and write app package name there.
Otherwise you can say that app path of that package (com.helloapp.android).
Sometimes you may receive the same error in the following format.
org.gradle.api.GradleException: No matching client found for package name
This is nothing but the same reason of package name ID mismatch or the not having correct path location.
Note: Make sure that the package name in your build.gradle file matches the name of the package you entered when creating the google-services.json file. If you are not sure, run it again and get a new JSON file.
Hope you done it right now.
Once done the above steps clear cache and refresh the project. Now your error get fixed. You can check logs additionally.
Hope you did it now. If you have any doubts post it in below command box.
Do you want to generate a password online? Our Password generator Online tool is used…
Do you want to know how to fix the Java Mail Authentication Failed Exception in spring…
Do you want to know the sac code list in GST? Here you can get…
Are you meesho seller? Do you want to generate GST report for tax registration? Follow…
Are you want to create Listing On Meesho? In this article you are going to…
Do you want to know the Meesho Seller Registration Process? Follow the steps given in…