Status Update
Comments
ad...@google.com <ad...@google.com>
be...@gmail.com <be...@gmail.com> #2
To the reporter: this error is related to the class NotificationsViewModel
. I'm trying to figure out exactly how this could happen, but haven't quite gotten there yet. The error seems to imply that the class's constructor is marked with @AssistedInject
, but potentially also with @Inject
(even though that wouldn't build).
Would you mind sharing some details about how exactly this view model is using Dagger attributes?
(I have a potential fix I can make regardless, but it's always helpful to actually understand the root cause.)
pa...@google.com <pa...@google.com> #3
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 Narwhal | 2025.1.1 Canary 3
- Android Gradle Plugin 8.11.0-alpha03
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!
az...@lyft.com <az...@lyft.com> #4
In our case however it's a custom exclude list for Buck build system and we've definitely forgot to exclude androidx dependencies.
I'm not sure about other users reporting this issue (also on StackOverflow btw
pa...@google.com <pa...@google.com> #5
However in #1 I see reference to Android Studio 3.2.1. I would like to ask the reporter to help to clarify their repro case.
pa...@google.com <pa...@google.com> #6
pa...@google.com <pa...@google.com> #7
Once we publish beta03 you can start using it as part of you gradle build if you do add the following lines:
buildscript {
dependencies {
classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta03'
}
}
This allows you to get the fix asap without waiting for updated version of AGP / AS.
NOTE: this bug will be marked as fixed once beta03 is published.
ad...@autospace.co <ad...@autospace.co> #8
pa...@google.com <pa...@google.com> #9
[Deleted User] <[Deleted User]> #10
buildscript {
dependencies {
classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta03'
}
}
But I get these below errors on gradle sync.
ERROR: Unable to resolve dependency for ':frollo-android-sdk@debug/compileClasspath': Failed to transform file 'core-ktx-1.0.1.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Failed to transform file 'activity-1.0.0-alpha02.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Failed to transform file 'lifecycle-process-2.0.0.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Failed to transform file 'lifecycle-service-2.0.0.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
...more like this
Am I missing something else to configure?
pa...@google.com <pa...@google.com> #11
di...@gmail.com <di...@gmail.com> #12
il...@gmail.com <il...@gmail.com> #13
hu...@google.com <hu...@google.com> #14
[Deleted User] <[Deleted User]> #15
hu...@google.com <hu...@google.com> #16
il...@gmail.com <il...@gmail.com> #17
Errors similar to post above with gradlew build --stacktrace:
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'crashlytics-2.9.9.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
[Deleted User] <[Deleted User]> #18
Do you recommend to use jetifier beta04 & gradle-5.1.1-all with Android Studio 3.3.1 & Gradle plugin v3.3.1 ? Are all of them compatible with each other?
hu...@google.com <hu...@google.com> #19
Anyway, since it's working for you, I would recommend trying that combination for now. The only issue I'm aware of with Jetifer 1.0.0-beta04 is that it will fail when detecting libraries that need to be jetified but have signatures in them (
il...@gmail.com <il...@gmail.com> #20
Anyway, thank you for participation here, it's possible to stick with this combination for now!
[Deleted User] <[Deleted User]> #21
[Deleted User] <[Deleted User]> #22
da...@splink.net <da...@splink.net> #23
hu...@google.com <hu...@google.com> #24
Please let us know if you still run into this issue when using the above AGP versions.
Description
Version used: Android Studio 3.2.1
Theme used:
Devices/Android versions reproduced on:
- Relevant code to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
The following packages should not be changed by Jetifier:
android.support.customtabs.action
android.support.customtabs.otherurls
android.support.customtabs.extra
Documentation:
This result in AppAuth not beeing able to find the valid "android.support.customtabs.action.CustomTabsService" as it is changed into "androidx.browser.customtabs.action.CustomTabsService"