Leonardo Sibela
Leonardo Sibela

Reputation: 2189

Unable to add Firebase Performance Plugin for the new Android gradle project structure

I'm trying to add to my Firbebase Performance to my Android project, but the documentation does not explain how to add the classpath on the new gradle.

Where should I write.

classpath 'com.google.firebase:perf-plugin:1.4.2'

... I tried maping to:

id "com.google.firebase.perf-plugin" version "1.4.2" apply false

I had searched a lot before posting this question but didn't find something useful.

It seems that the firebase documentations are not updated, because I see the same problems with other tools like Crashlytics and Google Services

Upvotes: 2

Views: 1007

Answers (1)

Leonardo Sibela
Leonardo Sibela

Reputation: 2189

I found the solution:

id 'com.google.firebase.firebase-perf' version "1.4.2" apply false

Thanks Chat GPT!! :D

Chat GPT showing how to do it

Upvotes: 3

Related Questions