How to fix error : Task :app:processDebugGoogleServices FAILED Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package name 'com.example.appname'

PROBLEM:

Task :app:processDebugGoogleServices FAILED Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package name 'com.example.appname' 

Solution:

In my case:

Google Services JSON file:

Step: 1 => Go to https://console.firebase.google.com/ 

Create New Project / Choose existing project.

Click on the Android icon to add a new app to your Firebase project.

Enter your Android app's package name.

Also Enter App Name (Nick Name)

Click Register Button.

Now, google-services.json file is ready for download.

Step: 2 => Download the google-services.json file from the Google Developer Console

Step: 3 => Place it in the app directory of your Android project


Comments

Popular posts from this blog

Code to Update App Automatically From Google PlayStore

How to Add Animation to Android App in JAVA

HOW TO DISCARD UNDER REVIEW APP BUNDLE AND UPLOAD NEW APP BUNDLE