-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating to Firebase BOM 33.8.0 #6629
Comments
I found a few problems with this issue:
|
I am running into the exact same problem. Android Studio version: 2024.2.2 When I updated Firebase BOM to version 33.8.0 (com.google.firebase:firebase-bom) my app would not finish building. Same error as the original reporter, indicating that com.google.firebase.analytics.analytics in imports and the Firebase.analytics call now both generate Unresolved Reference errors and the build fails. I rolled back to version 33.7.0, and my app built without issue. |
I have the same problem too. 😅 Updating from 33.7.0 to 33.8.0 break the build as @pmechenbier and @wvdans6225 already pointed out. |
Repositories: From project Gradle: From module Gradle: dependencies {
} compileOptions { compileSdk 35 Tried clearing all caches as first troubleshooting step, before submitting this ticket. Note: I tried again this morning and pulled the attached screenshots. |
Hi all, changing kotlin version to 2.1.0 fixed this issue. |
Thank you for the details @wvdans6225. I was able to encounter the error. The root cause, based on the logs, is an incompatible Kotlin version. Your project uses Kotlin 1.9.~, but the "play-services-measurement-api" (Google Analytics dependency) requires Kotlin 2.1.0. Specifically, the following error appeared:
The issue was resolved after updating the Kotlin version to 2.1.0. With that, I’ll be closing this issue now. Let me know if there’s any misunderstanding so we can reopen the issue. Thanks! |
Android Studio version: 2024.2.2
Android Studio build: #AI-242.23726.103.2422.12816248, built on December 17, 2024
Component: Firebase Analytics
Component Version: I have not been specifying a version per documentation.
I tried updating Firebase BOM to version 33.8.0 this morning because Android studio reported an available update, and when I build my app I get an error indicating that com.google.firebase.analytics.analytics in imports and the Firebase.analytics call now both generate Unresolved Reference errors and the build fails.
To mitigate this problem I rolled back to version 33.7.0, and my app compiled without issue.
I noticed that the documentation for implementing Firebase and Firebase analytics found at https://firebase.google.com/docs/android/setup still indicates that 33.7.0 should be used.
The text was updated successfully, but these errors were encountered: