Failed to resolve:

Hello guys,

iam very new to Kotlin and android app development in general and I am following a tutorial to create a login with firebase:

When trying to add firebase to my app and syncing my gradle files, Iam receiving the following error message:

This is what my gradle files look like:

I hope somebody is able to help me, thanks! :slight_smile:

You need to specify a version for dependencies,
according to 17.5.0 is the last, so the following should do:

implementation group: '', name: 'firebase-analytics', version: '17.5.0'

Also, please don’t post screenshots but editable text. Thanks :slight_smile:

1 Like

Sorry, I will keep that in mind for next time. It worked! Awesome, thanks a lot!!

Hay Bro , no need to change any fire base version
in your app.gradel(module) declare the version of the ktx
implementation β€˜’