I always get this message: Firebase config file error

I have the same issue, I always get this message and I do not know what should I do.
Kodular is unable to compile this project.
The compiler error output was
________Checking dangerous extensions
________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 strings xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file error.

1 Like

have you set firebase auth and uploaded google-services.json to assets?

Yes, I did

Is your package name correct

I double checked the package name and restarted my pc many times.

Can you provide us with your package name from designer and from google-services.json file as well

Btw, why the need to restart your PC

image

Unsure what could be the issue but can you check if you have space in your package name

bild

2 Likes

This my AIA file, could you check it for me, please?
https://drive.google.com/open?id=1xCi9Y0tcedjXG7iQSAmTKE3GbIVAIYrv

How big is your app?

Go in the “blocks” page and right click. The menu will list several options, one of which will be “Delete nnnn Blocks”. What is the value of “nnnn”?

Also, how many components (arrangements, buttons, labels, pickers; in other words any widgets listed in the Palette in the Designer page) do you have?

The point is that this is the kind of error message we see when there are just too many components and blocks for the compiler to handle (and just to drive the point further, because that is a sore point with me, something that we see over at Thunkable as their API 28 compiler is bugged, unable to handle anything that is over 1/3 what the limit was with the previous API 26 compiler, and that they haven’t fixed the compiler since the issue was reported 3 months ago, and are apparently not doing any effort, and is the reason I more or less have given up on them and why I am not here).
Have you been able to create an apk file for that app before, or is it the first time you try it?
If it used to work before, and that you haven’t changed much in your app, it could be a lot of things, including a problem with the compiler. However, I have a hunch that you were over enthusiastic and just put way too many components in there and are saturating the compiler with too much data to process.
There are ways to cope with this, but I shall wait with your app size evaluation.

1 Like

@17107 please make the Drive file publicly accessible.
Right now, it’s request-only.

3 Likes

FYI, the file google-services.json can’t be renamed

So, did it work with you?

Yes after I renamed your file to google-services.json

1 Like


It is public now.

Please show me the steps.
I am so glad for your time and effort.

Just rename the file on your PC and upload it to assets and don’t forget to remove the wrong named one from assets

3 Likes

Thanks so much, but it still gives me error during exporting, I think it is a server’s error.

Can you send me the APK to try, please?

Please send us the updated AIA

1 Like