Unable to generate apk because of Firebase, Firebase config file error

Hi.
Yes, I know there are similar post to this one, but I’ve readed every solution given and doesn’t work for me, please, help.
When I try to compile de apk of a simple login screen (I want to test Firebase) this message is shown:

compile error

I have checked multiple times the name of the google-services.json file and its right. I have closed the browser several times, erase the data in browser and use other browser never used with Kodular. I have restarted the pc several times. I have created a new project from the scratch, copy-paste de elements of the designer screen and made all the blocks again. I have deleted all the assets, restarted the browser and load them again.
In Firebase console I have deleted the aplicattion and the project and nothing works.
I followed this (fantastic) topic of @JaviR3TicS:

Nothing have worked, the error message keeps appearing.
I leave here the aia if any one could check and see something strange, these are my first steps with Firebase.

One final doubt; when the Firebase application is configurated, the SDK step is not necessary with Kodular, is it? We just have to use the Firebase Authentication component, is this correct?

Thanks in advance!

Login.aia (22.7 KB)

1 Like

Try with this google-services.json (1.3 KB)

1 Like
2 Likes

Hi I am also having similar issue. I’m not sure what might be the problem
I have followed the steps properly.
To make it clear I have built two more apps in different account with the same methods I have followed now.
Those two apps are working fine…but this time when I try to export an empty app with firebase authentication, it fails to build the apk.

KeyManager.aia (1.7 KB)

google-services.zip (670 Bytes)
(zipped just to upload here, file is intact as downloaded from firebase project)

Please see if I am doing anything wrong

@Anmol_Rao Try this one google-services.json (1.3 KB)

3 Likes

Hey …
It works!

What was the issue?

1 Like

To be honest I have no knowledge of Firebase.
But by looking at one of the json files that were lying around here on my PC, I saw that one line was missing in both cases

"firebase_url": "https://your-projekt-id.firebaseio.com",

if it is the right/correct one I have no idea…

  "project_info": {
    "project_number": "123456789",
	"firebase_url": "https://your-projekt-id.firebaseio.com",
    "project_id": "your-projekt-id",
    "storage_bucket": "your-projekt-id.appspot.com"
21 Likes
Firebase Auth : google-services.json is present but build error anyway
Firebase apk compilation error, (another) firebase config file error
I always get this message: Firebase config file error
Common causes for Firebase :firebase: config file error :warning:
Error while configuring Firebase json file
Export Error in Building app
Firebase config file error
Firebase login and sign up is not happening
Error in Firebase Authentication
Getting error with firebase storage
Getting error with firebase storage
Having trouble with Firebase Authentication
Firebase_Remote_Config. Fetch; Solved
Firebase_Remote_Config. Fetch; Solved
Unable to Compile app without any error: The compiler error output was
Firebase Authentication problem
Firebase authentication build error
My App is not compiling! Firebase Config file error
Firebase Authentication Google json problem
Firebase config file error
Firebase config file error
Still have Firebase config Error
Due to Firebase Component app is not exporting
Error to Compile Project - Firebase config file error
Firebase config file error
Kodular is unable to compile this project - Firebase config file error
Can anyone help me in error (build fail / ________ firebase config file error)
Firebase Components Makes "Error"
SDK SETUP and configuration
How to solve something went wrong in project compile in view log showing me firebase component found
I cant Compile app
Kodular is unable to compile this project.
Firbase issue not resolving i have check every method
Am having error in building my APK
Kodular is unable to compile my project!
Apk Export error with firebase config file
There’s an error exporting the apk file…Firebase config file error
Firebase File Config Error
When exporting apk showing error occurred
Firebase config file error
Problem with export, Firebase config file error
Aia file export issue
Error when compiling, it success minutes ago
Kindly Need Help!
Firebase Googleservices config File error
Export error help me
Firebase Authentication
Crash on build after it worked fine previously
Kodular is unable to compile this project. Firebase config file error
Kodular is unable to compile this project. Firebase config file error
Kodular is unable to compile this project. Firebase config file error
🔥 Fire Analytics : An extension to add Firebase Analytics to your apps
Firebase gives Error
Firebase Error Is it bug or what
Firebase authentication error
Error in Firebase Authentication
Firebase Exporting Error
Firebase config error
Firebase config error
Could not export app, firebase config file error
Send forget password email to verifid email only k
Help. Error with Firebase authenticatin
Firebase config file error
Firebase Storage causes error when compiling the APK
Error with firebase authentication
I always get this message: Firebase config file error
I always get this message: Firebase config file error
Firebase apk compilation error, (another) firebase config file error
Firebase Config File Error
[Guide] How to use Firebase Authentication :google: :firebase: on :kodular:
Cannot export my app
Firebase auth error
App build issue, Firebase config file error
Error When Generating APK when using Firebase Remote Config
Firebase Config File Error
Kodular is unable compile my project - Firebase config file error
Error while exporting project
Facing error while converting into apk
Please solve my firebase config error for otp verification system problem
ACTIVITY START and FIREBASE
Cant export the apk of the app, Firebase config file error

Ey! Worked for me too!
Thanks!!
I’ll create the project again in Firebase console and change the location to see if that was the problem. And lets see if the app works fine with Firebase authentication.
Thanks again!

1 Like

I’m also facing this error​:sob::sob:

{
“project_info”: {
“project_number”: “618283483683”,
“project_id”: “gaming-creator”,
“storage_bucket”: “gaming-creator.appspot.com
},
“client”: [
{
“client_info”: {
“mobilesdk_app_id”: “1:618283483683:android:2cd5e92c940bea3d2e2796”,
“android_client_info”: {
“package_name”: “com.gamingcreator”
}
},
“oauth_client”: [
{
“client_id”: “618283483683-hkg3pnl363g51nuu7i8dhunr856qa0jg.apps.googleusercontent.com”,
“client_type”: 1,
“android_info”: {
“package_name”: “com.gamingcreator”,
“certificate_hash”: “9ab11a27befc9a2c2a46e88f4c332361ce9fea4b”
}
},
{
“client_id”: “618283483683-jmgpue4rsg5iffp4ehtgs7d6s88q3kb1.apps.googleusercontent.com”,
“client_type”: 3
}
],
“api_key”: [
{
“current_key”: “AIzaSyBFBSUw3qu4dxGUAZUEcPQcjJMiLBy7eUY”
}
],
“services”: {
“appinvite_service”: {
“other_platform_oauth_client”: [
{
“client_id”: “618283483683-jmgpue4rsg5iffp4ehtgs7d6s88q3kb1.apps.googleusercontent.com”,
“client_type”: 3
}
]
}
}
}
],
“configuration_version”: “1”
}

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

1 Like

6 Likes

To avoid the above, just select the resource location…

2 Likes

Actually, I have the location selected and the json file is missing the email line, I have to add it manually. I deleted the project and made another one in Firebase console and this keeps happening.
Maybe is the location selected, mine is europe west, eur-3 and can’t be changed.

1 Like

Thank U Very Much
By Adding This Line “firebase_url”: “https://your-projekt-id.firebaseio.com”,
under Project Number It Was Working Superbly
Thank U Very Much

2 Likes

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