Fixed
Status Update
Comments
je...@google.com <je...@google.com> #2
Comment has been deleted.
hu...@google.com <hu...@google.com> #3
Almost 2 months later and this is still broken
an...@google.com <an...@google.com> #4
Since there is no progression, I wanted to share our quick-fix for the issue.
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
#sdkmanager --package_file=${PATH_WORKSPACE}/packages
while read p; do echo "y" | sdkmanager "${p}"; done <${PATH_WORKSPACE}/packages
sa...@gmail.com <sa...@gmail.com> #5
jb...@google.com What is the update on this?
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.