Firebase config file error

I have searched a lot for this help and it still did not fix. I changed the project, package name, and google-services.json file and added a new one. Also seeing this youtube tutorial - But it did not work so how can I fix this apk building firebase configure error -

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file error.

Check if firebase url is missing from your json file


Oh, thanks,
There is no firebase url in my google-services.json file.
So should I add it or not

Add it and I believe it will work

Now I have added it,

firebase_url": “

1 Like

But still it shows the same error

My url is in the form of Is your url correct ? Also check again

I am making a phone number OTP app test so what rules should I put in the real-time database?

This all depends on what access you want to give to your users. Read the rules documentation for Firebase:

Firebase | Basic Security Rules

Firebase | Avoid insecure rules

1 Like

It did not work but I upload the database secrets in assets. Then it work

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.