Questions tagged [firebase-performance]

Firebase Performance Monitoring for iOS, Android and Web apps.

Firebase Performance Monitoring helps you to gain insight into the performance characteristics of your iOS, Android and Web apps. You use the Performance Monitoring SDK to collect performance data from your app, and then review and analyze that data in the Firebase console. Performance Monitoring helps you to understand where and when the performance of your app can be improved so that you can use that information to fix performance issues.

See the Firebase Performance Monitoring documentation for more details.

206 questions
140
votes
10 answers

Unable to load class AndroidComponentsExtension after upgrading the Android Gradle Plugin 7.1

I recently downloaded Android Studio Bumblebee and it helpfully asked whether I wanted to upgrade to Android Gradle Plugin 7.1.0, the version that shipped alongside Android Studio Bumblebee. After upgrading, I get a build error: Unable to load class…
40
votes
10 answers

Firebase Performance Plugin causing slow build time

When using Firebase Performance in Android Studio the gradle task app:transformClassesWithFirebasePerformancePluginForDebug is taking significantly longer than any other task and is therefore dramatically slowing down my gradle build times. Slow…
23
votes
5 answers

java.lang.NoSuchMethodError: No static method registerDefaultInstance with Firebase Performance and Espresso Instrumented Tests

When I adding implementation 'com.google.firebase:firebase-perf-ktx:19.1.0' I cannot start espresso instrumented tests ("app" scheme building ok). When I trying to start Espresso test, I have Test running failed: Process…
Vladimir Fisher
  • 3,090
  • 2
  • 17
  • 23
21
votes
2 answers

NoClassDefFoundError on com.google.android.gms.internal.firebase-perf.zzw

Received numbers of crash report from Firebase Crashlytics. It is related to firebase-perf I think. Fatal Exception: java.lang.NoClassDefFoundError: com.google.android.gms.internal.firebase-perf.zzw at…
Fung
  • 961
  • 1
  • 8
  • 17
21
votes
2 answers

Serializing to a byte array threw an IOException (should never happen)

I have this new error from one user. This happened when I pushed the app with the new 11.0.0 Play Services. Fatal Exception: java.lang.RuntimeException: Serializing to a byte array threw an IOException (should never happen). at…
20
votes
4 answers

Illegal class file: Class module-info is missing a super type. Class file version 53

When I add firebase perf dependency into my project i am getting this error Illegal class file: Class module-info is missing a super type. Class file version 53. My Gradle and google services project-level dependencies are classpath…
Eldhopj
  • 2,703
  • 3
  • 20
  • 39
19
votes
2 answers

Android Gradle build fails dexBuilderDebug task, after updating to Kotlin 1.4

I've tried to update my Android project to Kotlin 1.4.0, since it's now oficially stable, and after update I've encountered a problem. I will not post the entire stack here, since it's very long, but the mot top part of it looks like this: ... >…
ikurek
  • 604
  • 11
  • 27
16
votes
5 answers

Firebase performance monitor causing "D8: Unsupported source file type"

I added apply plugin: 'com.google.firebase.firebase-perf' and when I ran build script I got /transforms/FirebasePerformancePlugin/dev/debug/174/module-info.class: D8: Unsupported source file type What kind of problem it could be? I updated…
Gorets
  • 2,434
  • 5
  • 27
  • 45
14
votes
2 answers

How to configure Firebase Performance Monitoring plugin extension in Gradle Kotlin DSL

I have an Android app using Gradle with Kotlin DSL. I'm adding Firebase Performance Monitoring, but I would like for it to be enabled only for a specific build type. I've been following the instructions provided at Firebase - Disable Firebase…
14
votes
3 answers

Error:Execution failed for task ':app:transformClassesWithFirebasePerformancePluginForRelease'

I can not find the origin of this error when I compile in release mode. I have the impression that this error appeared without modifying my code (I try to go back with github but I still have this error). Error:Execution failed for task …
filol
  • 1,669
  • 1
  • 15
  • 38
12
votes
1 answer

CrashlyticsCore: Cannot invoke method: registerOnMeasurementEventListener

I've installed the android firebase performance library and I can see app speed, etc. in the dashboard but the network request monitoring doesn't seem to be working. I am getting this error in the logcat: W/CrashlyticsCore: Cannot invoke method:…
Peter
  • 142
  • 11
11
votes
2 answers

Firebase Performance crashing in API 19 with Google Play Services 10.2.98

This week I started testing the new Firebase Performance in my new app. Once I am using Firebase for other features like Auth and DB I already updated all packages to last 10.2.6 Firebase version and follow all pre req instructions. minAPI is 19. My…
koridallos
  • 115
  • 5
10
votes
2 answers

Firebase Performance Detailed URL Patterns

I am not able to view detailed URL Patterns in Firebase Performance Monitoring even after the API having >30k samples in the past few months. It just shows the root API domain like this: api.myAppName.in/** instead of something…
Ishaan Garg
  • 3,014
  • 3
  • 25
  • 28
9
votes
2 answers

How to track frame metrics for Fragments with Firebase performance?

Firebase Performance monitoring SDK for Android automatically tracks slow rendering and frozen frames for Activity. But there's no such data for Fragment. For example if activity A hosts 3 fragments, then it'll report slow rendering and frozen…
Mehedi
  • 394
  • 1
  • 3
  • 19
9
votes
1 answer

unable to see Firebase performance dashboard on console

I have recently added firebase performance to my android app and its been 2 days I don't see any updates on firebase console. I am able to see crash, analytics on console and log cat. I also see firebase performance custom traces in log cat, however…
Manish
  • 91
  • 1
  • 3
1
2 3
13 14