Home:ALL Converter>Firebase specific libraries for Kotlin Android Studio

Firebase specific libraries for Kotlin Android Studio

Ask Time:2020-07-30T17:55:03         Author:oTwo

Json Formatter

I recently upgraded Android Studio to 4.0. I had initially delayed the upgrade because there was a communication that the recent version is not compatible with Firebase and Kotlin. Now after the upgradation I had to reconnect android studio to Firebase and the dependencies were set up again. What I find is that the recent Firebase updates has specific libraries for Kotlin. For instance in Realtime Database we have implementation 'com.google.firebase:firebase-database-ktx:19.3.1' as against implementation 'com.google.firebase:firebase-database:19.3.1' for Java.

However, the Firebase assistant in Android Studio implements the java versions of the library. Is this a bug? I am confused. Do I change manually to the Kotlin specific libraries?

Author:oTwo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/63170665/firebase-specific-libraries-for-kotlin-android-studio
yy