-
Notifications
You must be signed in to change notification settings - Fork 640
Open
Description
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general
question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the
firebase-talk google group. - For help troubleshooting your application that does not fall under one of the above categories,
reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Android Studio version: Android Studio Narwhal Feature Drop | 2025.1.2 Patch 1
- Firebase Component: firebase-perf
- Component version: 22.0.2
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
- Clone and run firebase-android-sdk
- Add com.google.firebase.perf.v1.TraceMetric.newBuilder() to com.google.firebase.quickstart.perfmon.kotlin.MainActivity
- Run "perf.app"
- Actual result: Cannot access 'GeneratedMessageLite' which is a supertype of 'TraceMetric'. Check your module classpath for missing or conflicting dependencies.
I can fix it add implementation("com.google.protobuf:protobuf-javalite:3.25.5")
Relevant Code:
import com.google.firebase.perf.v1.TraceMetric
TraceMetric.newBuilder()
Error occurred since com.google.firebase:firebase-perf:21.0.5