I cant Compile app

Hello,
When I am trying to Export apk. It is showing this error. Please help me.

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.

have you used firebase???

1 Like

Yes I am using firebase

ok have you uploaded json file in assests

1 Like

Yes Uploaded & Package name is also same

  1. Make sure that google-services.json is in assets.
  2. Make sure it doesn’t have a number, like google-services(1).json.
  3. The package name of your app, and the package name you provided to firebase to download “google-services.json” MUST be the same
  4. and finally check if firebase url is missing from json
2 Likes

is this like this:- google-services.json or any other name

1 Like

yes i was only saying this

1 Like
3 Likes

If you don’t know how to edit json then send it to me i will edit it for you

1 Like

you are really fast please give me also chance

2 Likes

I have the same problem. The project_info does not have the firebase_url line.
I can’t compile my app either.
I added and it still doesn’t compile.
I’ve already checked all 4 points suggested above.

Do you wish to post or pm me your aia to check it ?

I sent you the aia file.

@estigmaster Is your problem solved?

Yes, but I don’t know how. The specialist requested my aia file and returned it to me ready and working. He told me about a SHA-1 keystore key, but I don’t think that’s what he did, as he doesn’t have access to my database in firebase.

I downloaded google-services.json from the aia file that the expert sent me and noticed that he added to firebase_url the text “default-rtbd” between your-projekt-id and .firebaseio.com.
Example:
“project_info”: { “project_number”: “123456789”, “firebase_url”: “https://your-projekt-id.default-rtbd.firebaseio.com”, “project_id”: “your-projekt-id”, " storage_bucket": “your-projekt-id.appspot.com

Make a new topic this one is closed

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