How to use Firebase in AndroidMain

Hi there, when I add implementation (“”) in AndroidMain, Gradle Sync works, but I cannot import FirebaseDatabase into my classes. When adding implementation (“”) it is working properly.

Can anyone explain or help?

Thx a lot, Nikolaus

Hi. I found an MPP project that looks pretty close to what you want, hope it helps as a reference: