Status Update
Comments
sp...@google.com <sp...@google.com>
ch...@gmail.com <ch...@gmail.com> #2
Seeing the same thing with AGP 8.7.1 + android.experimental.lint.version=8.8.0-alpha08
.
Using AGP 8.8.0-alpha08
works as expected though.
js...@google.com <js...@google.com> #3
Using AGP
8.8.0-alpha08
works as expected though.
Good to hear that!
Note that these warnings mean that some of your (binary) dependencies (very likely old version of compose runtime and/or custom Lint checks bundled in some other AndroidX libraries) have Analysis API usages that Lint cannot replace with the up-to-date version.
ch...@gmail.com <ch...@gmail.com> #4
If that's the case, why does AGP 8.8.0 not spew out the warnings?
Is there any way to figure out what jars are causing the issue(s)?
te...@gmail.com <te...@gmail.com> #5
Seems like now a workaround is possible with AGP 8.7.2 + android.experimental.lint.version=8.8.0-alpha09
.
al...@gmail.com <al...@gmail.com> #6
th...@gmail.com <th...@gmail.com> #7
Note that these warnings mean that some of your (binary) dependencies (very likely old version of compose runtime and/or custom Lint checks bundled in some other AndroidX libraries) have Analysis API usages that Lint cannot replace with the up-to-date version.
We have all dependencies updated to the latest stable version and we see this warnings (over 6k lines in our build logs).
js...@google.com <js...@google.com>
tn...@google.com <tn...@google.com> #8
I'm trying to repro this with 8.7.0. Any clues for what it takes to trigger it on a simple project? Which version of Kotlin are you using? Which androidx libraries are you depending on? Any other libraries that bundle custom lint checks?
tn...@google.com <tn...@google.com> #10
Perfect, that triggered it! Thanks!
an...@google.com <an...@google.com> #12
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 Ladybug | 2024.2.1 Patch 3
- Android Gradle Plugin 8.7.3
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
I started noticing these warnings when running Lint (AGP 8.7.1):