Status Update
Comments
an...@google.com <an...@google.com>
ga...@google.com <ga...@google.com>
am...@google.com <am...@google.com> #2
This mentioned interface was removed only starting 7.2
, so you shouldn't have problems with using firebase with AGP 7.1
. Are you sure you don't have a dependency somewhere (maybe buildSrc?) on AGP or just gradle-api
7.2?
id...@gmail.com <id...@gmail.com> #3
I looked in ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle-api and ~/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle
Only 7.1.0-beta04 and 7.1.0-beta05 is there.
I checked with a new project. This problem only occurs when I enable the com.google.gms.google-services
and com.google.firebase.firebase-perf plugin.
Without these plugins everything works fine.
je...@google.com <je...@google.com> #4
This is a known issue, we are working with those teams so they release a compatible plugin.
id...@gmail.com <id...@gmail.com> #5
re...@sbab.se <re...@sbab.se> #6
je...@google.com <je...@google.com> #7
Last communication from firebase-perf team stated a release is scheduled for this week.
b9...@gmail.com <b9...@gmail.com> #8
But it looks like not only perf but androidx.navigation.safeargs.gradle.SafeArgsPlugin
also has this issue.
il...@gmail.com <il...@gmail.com> #9
Yep, androidx.navigation.safeargs.gradle.SafeArgsPlugin
seems to be an issue too.
ma...@gmail.com <ma...@gmail.com> #10
je...@google.com <je...@google.com> #11
safegargs will be fixed with the next jetpack release which is currently scheduled for end of January.
sorry it is taking so long, the holidays have delayed many releases.
co...@protonmail.com <co...@protonmail.com> #12
firebase perf still has the issue, but I just removed that plugin for now as it requires no app side changes. instead I just commented it out. google-services 4.3.10 does not seem to be an issue.
I was able to get by the nav plugin issue by using a new snapshot:
buildscript {
repositories {
google()
mavenCentral()
maven("https://androidx.dev/snapshots/builds/8054565/artifacts/repository")
}
}
then update the plugin to
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0-SNAPSHOT")
I don't know whether I should update the rest of my nav deps to 2.5.0 snapshot, but this'll do for now.
am...@google.com <am...@google.com> #13
Firebase has published perf-plugin 1.4.1 which includes the fix to this issue
de...@google.com <de...@google.com> #14
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Dolphin Canary 2 (2021.3.1.2)
- Android Gradle Plugin 7.3.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
de...@google.com <de...@google.com> #15
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Dolphin Canary 5 (2021.3.1.5)
- Android Gradle Plugin 7.3.0-alpha05
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ch...@gmail.com <ch...@gmail.com> #16
je...@google.com <je...@google.com> #17
read #13
da...@gmail.com <da...@gmail.com> #18
am...@google.com <am...@google.com> #19
This issue was already fixed, please upgrade your firebase perf plugin to 1.4.1
or later
Description
1) Install 2021.1.1 beta5
2) Open a project
3) Run Gradle Project Sync
4) Error Gradle sync fails with Unable to load class 'com.android.build.api.extension.AndroidComponentsExtension'.
This error occurs for every project
I also tried the following:
- Restart Android Studio
- Clean project
- Download Android Studio instead of updating
I still got the error message
Java 11
Gradle version 7.2
Dependencies:
classpath 'com.android.tools.build:gradle:7.1.0-beta05'
classpath 'com.google.firebase:perf-plugin:1.4.0'
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'