Hiw to use Firebase in AndroidMain

Hi there, when I add implementation (“com.google.firebase:firebase-database:19.0.0”) in AndroidMain, Gradle Sync works, but I cannot import FirebaseDatabase into my classes. When adding implementation (“androidx.room:room-runtime:2.1.0”) it is working properly.

Can anyone explain or help?

Thx a lot, Nikolaus