Status Update
Comments
uc...@google.com <uc...@google.com>
lu...@google.com <lu...@google.com>
kd...@google.com <kd...@google.com> #2
lb...@gmail.com <lb...@gmail.com> #3
For Android-imposed version restrictions we should override that using AndroidLanguageFeatureProvider (and if the feature provider scheme isn't supported for a particular inspection, upstreaming a patch to add that).
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
ad...@google.com <ad...@google.com> #4
Actually now that I'm reading more carefully -- Objects.nonNull is one of the built-in methods that D8/R8 will automatically desugar. So in reality this shouldn't be a problem for anyone using recent versions of R8/D8 (which is pretty much everybody).
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #5
I do see lint flagging it; let me take a look.
lb...@gmail.com <lb...@gmail.com> #6
Fixed by
an...@google.com <an...@google.com> #7
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 Feature Drop | 2024.2.2 Canary 7
- Android Gradle Plugin 8.8.0-alpha07
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!
lb...@gmail.com <lb...@gmail.com> #8
Our custom lint rules are failing to compile after updating from alpha06 to alpha07 with the following error:
e: file:///builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-online/caches/modules-2/files-2.1/com.android.tools.external.com-intellij/kotlin-compiler/31.8.0-alpha07/dfd505f95d9c8cea16956a0a1d33900234ce0259/kotlin-compiler-31.8.0-alpha07.jar!/META-INF/analysis-api-fe10.kotlin_moduleModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
We're building with Kotlin 1.9.24 and Gradle 8.10. Is this expected?
Description
Same for other annotations that could be auto-suggested with known values