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

583 views Asked by At

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 to mapped 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

1

There are 1 answers

1
Leonardo Sibela On BEST ANSWER

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