Fixed
Status Update
Comments
sp...@google.com <sp...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
an...@google.com <an...@google.com> #3
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 Meerkat | 2024.3.1 Canary 2
- Android Gradle Plugin 8.9.0-alpha02
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
Annotating a java-method with @RequiresFeature will cause the linter to display a warning whenever the method is used in a kotlin or java source code file.
Annotating a kotlin-method the same way will not have any effect though.
STEPS TO REPRODUCE:
1. Annotate any method in a kotlin source file with @RequiresFeature("
2. Use this method in the same or a different file
3. Check for linter warning / Run inspection "Requires Feature" --> There is none
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build:
Android Studio Koala | 2024.1.1 Patch 2
Build #AI-241.18034.62.2411.12169540, built on August 1, 2024
Version of Gradle Plugin: 8.5.2
Version of Gradle: 8.7
Version of Java: 17.0.11
OS: Windows 10