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

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”
}

1 Like

@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.

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

1 Like

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