Hello everybody do I am going to list some common causes for Firebase config file error because I might have seen at least 100 topics regarding this error. So let’s begin -
The number 1 mistake is regarding the Package name -
The package name entered in the app and the one in Firebase if they are not the same it will not work…
See this helpful guide -
Did it work ? still not worry not see the second mistake you might have done…
This one is much more common
There are 2 reasons for this make sure your JSON file doesn’t have a number, like google-services(1).json. The last solution will totally work if the previous ones didn’t (fingers crossed ) -
Right click your JSON file (in file folder) and click open with… notepad
The error will be in the first 5 lines check if the 3rd line contains your firebase URL if not then add its simple "firebase_url": "https://your-projekt-id.firebaseio.com", make you sure add this after project number and before project id…