Status Update
Comments
xo...@google.com <xo...@google.com>
vi...@google.com <vi...@google.com>
tn...@google.com <tn...@google.com> #2
Thank you for the reproduction. I have a potential fix for the issue, and have attached an R8 main branch build with it. You can try your code with it by merging the following into your settings.gradle
or settings.gradle.kts
:
pluginManagement {
buildscript {
dependencies {
classpath(files(<path to r8lib.jar>))
}
}
}
Let me know if your build succeeds and the app runs.
Also, can you share the source of the MRE? I was not able to use the source provided in a sample compose app, maybe due to not having the same dependencies that you have used.
va...@gmail.com <va...@gmail.com> #3
Let me know if your build succeeds and the app runs.
Yes, the fix works in my MRE as well as in the actual project!
Also, can you share the source of the MRE? I was not able to use the source provided in a sample compose app, maybe due to not having the same dependencies that you have used.
You mean you failed to run project attached in ProguardBug.zip
? It's basically just a newly created Compose project with some deps updated, and code from the block inserted. I tried unarchiving it by myself and it reproduces the bug, let me know what problems do you have with it.
Description
The following code:
get's flagged by Lint:
It probably only sees the
>= 30
check but not the parent if statement that checks for>= 28
.AGP: 7.2.2