Fixed
Status Update
Comments
je...@google.com <je...@google.com> #2
Comment has been deleted.
an...@google.com <an...@google.com> #4
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 Koala | 2024.1.1 Canary 8
- Android Gradle Plugin 8.5.0-alpha08
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!
Description
(Extracted fromhttp://issuetracker.google.com/230454566#comment20 .)
Steps to reproduce
https://github.com/android/nowinandroid
The build will fail with:
Root cause
When setting up the query of classes .
DexingWithFullClasspathTransform
(available whenandroid.useFullClasspathForDexingTransform = true
), we didn't add all the necessary attributes forTherefore, Gradle couldn't select the correct transform among multiple available ones.
Fix
Add the missing attributes to the transform setup:
Workaround
If you run into this issue, please try adding the attribute manually in your build script as follows:
The attribute to add can be found by analyzing the error message. In most cases, the above will work; but if it doesn't, please let us know.