S
S
sinoptiq2021-04-01 00:37:51
Android
sinoptiq, 2021-04-01 00:37:51

Problem with joining firebase in android app. How to attach a new module?

Good afternoon. I am writing a project on android studio using Realtime Database Firebase.
When connecting the project to firebase, there was 1 module. Everything works, the data is written, read.
Now we need to add the 2nd module. And now he does not want to connect to the firebase.
The error looks like this:
Default FirebaseApp is not initialized in this process myproject. Make sure to call FirebaseApp.initializeApp(Context) first

Here it is - FirebaseApp.initializeApp(Context) - where I didn't insert it, it doesn't help. Tell me how to be in such a situation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sinoptiq, 2021-04-01
@sinoptiq

Solved a problem. I did not take into account that each module must be attached separately.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question