Aswini_Karri
(Karri Jishnu Vardhan Reddy)
December 7, 2020, 7:26am
1
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:
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"
2 Likes
Aswini_Karri
(Karri Jishnu Vardhan Reddy)
December 7, 2020, 7:29am
3
{
“project_info”: {
“project_number”: “347015256704”,
“project_id”: “jvfacts-f5b61”,
“storage_bucket”: “jvfacts-f5b61.appspot.com ”
},
“client”: [
{
“client_info”: {
“mobilesdk_app_id”: “1:347015256704 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 :
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
Copy to clipboard
"firebase_url": "https://your-projekt-id.firebaseio.com",
2 Likes
[quote="Aswini_Karri, post:5, topic:95914]
i saw it that post.
[/quote]
Did you try to edit your google-services.json according to that post
2 Likes
AryanGupta
(Aryan Gupta)
December 7, 2020, 7:36am
7
Aswini_Karri:
i saw it that post
can you please show me your package name (Screenshot)
AryanGupta
(Aryan Gupta)
December 7, 2020, 7:37am
8
Or confirm this two values
Aswini_Karri
(Karri Jishnu Vardhan Reddy)
December 7, 2020, 8:21am
9
No I didn’t not anything doing
2 Likes
@Aswini_Karri can you share the login screen blocks?
It’s time to try
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
3 Likes
Boban
(Boban Stojmenovic)
December 7, 2020, 8:39am
12
Try this one google-services.json (1.4 KB)
3 Likes
@Aswini_Karri Hey, Your problem was solved?
As I said before, you was missing a line:
And it’s added in @Boban ’s fixed googke-services.json
2 Likes
Boban
(Boban Stojmenovic)
December 7, 2020, 1:49pm
17
Aswini_Karri:
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?
HuberTuts
(Huber)
December 12, 2020, 4:05pm
20
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”:…