I always get this message: Firebase config file error

I am getting an error when with my JSON file with firebase auth when i export it
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.

.

this is the file name
google-services.json

If your google-services.json name is correct, you have the latest google-services.json file , as well as your package name at firebase console the same as your kodular project, so you might try this:

2 Likes

{
“project_info”: {
“project_number”: “347015256704”,
“project_id”: “jvfacts-f5b61”,
“storage_bucket”: “jvfacts-f5b61.appspot.com
},
“client”: [
{
“client_info”: {
“mobilesdk_app_id”: “1:347015256704:android:fd72f7628e6c9dbb652465”,
“android_client_info”: {
“package_name”: “com.jvfactsaiaandapk.andriod”
}
},
“oauth_client”: [
{
“client_id”: “347015256704-kmm8su0fv5ia57bo20o7ln7ics636mje.apps.googleusercontent.com”,
“client_type”: 1,
“android_info”: {
“package_name”: “com.jvfactsaiaandapk.andriod”,
“certificate_hash”: “d98c170d3249e9a2430e280c563f1a263747f300”
}
},
{
“client_id”: “347015256704-tbll1qh9u0lsobgj0pjl7r2gc17d7hul.apps.googleusercontent.com”,
“client_type”: 3
}
],
“api_key”: [
{
“current_key”: “AIzaSyCgNF1mgK607w23PtV5XkmIiS722AM6Oug”
}
],
“services”: {
“appinvite_service”: {
“other_platform_oauth_client”: [
{
“client_id”: “347015256704-tbll1qh9u0lsobgj0pjl7r2gc17d7hul.apps.googleusercontent.com”,
“client_type”: 3
}
]
}
}
}
],
“configuration_version”: “1”
}
this is the json code

Take a look at the post I shared :

2 Likes

i saw it that post

Did you try to edit your google-services.json according to that post :thinking:

2 Likes

can you please show me your package name (Screenshot)

Or confirm this two values

No I didn’t not anything doing

2 Likes

@Aswini_Karri can you share the login screen blocks?

It’s time to try :wink:
You are missing, your firebase URL:

So obviously you should edit your google-servuces.json file, add the missing line, upload the new file, try to compile again :grinning:

3 Likes

Try this one google-services.json (1.4 KB)

3 Likes

@Aswini_Karri Hey, Your problem was solved?

Is it same like mine

As I said before, you was missing a line:

And it’s added in @Boban’s fixed googke-services.json :wink:

2 Likes

thankyou i is fixed

And what was it that solved your issue?

1 Like

Donde puedo poner la linea que sugirio?
“firebase_url”: “https://your-projekt-id.firebaseio.com”,

Added by Mod: Where can I put the line you suggested?

1 Like

Debes incluirlo después del primer encabezado “project_info”:{, te debe quedar algo así:

(You should include the link after the headline “project_info”:{, it should look like this:)
{
“project_info”: {
“firebase_url”: “https://your-projekt-id.firebaseio.com”,
“project_number”:…