Fixed
Status Update
Comments
hu...@google.com <hu...@google.com>
ad...@google.com <ad...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #2
that screenshot may still show a secondary bug though insofar as it sees their contents are different and not necessarily present/not-present. I wasn't able to narrow it down further at the time though
an...@google.com <an...@google.com> #3
As of Giraffe, Live Literal is deprecated and will be completely replaced by Live Edit.
Android Studio will not be controlling compose compiler flags anymore so I am going to close this bug.
Please open another bug if you see unexpected cache misses without the Live Literal flag involved.
Android Studio will not be controlling compose compiler flags anymore so I am going to close this bug.
Please open another bug if you see unexpected cache misses without the Live Literal flag involved.
mc...@ebay.com <mc...@ebay.com> #5
Excellent. Thank you much!
Description
do not resolve in the IDE for Java files. Kotlin files resolve the resource just
fine.
Attached is a repro project with the following structure:
:app --> :feature
Both modules use an XML layout to define a resource.
The :app module's androidTest attempts to access the defined resources, once in a Java source file and again in a Kotlin source file. The Java resource reference to :feature's resource fails to resolve in the IDE whereas the Kotlin source file resolves in the IDE just fine.
After I created the repro project I had the thought to test the main sourceSet as well. In this case, the IDE seems to resolve when using navigate to declaration but the IDE editor seems unhappy about resolving the feature module's package name. Screenshot attached for this as well.
Actual compilation works fine. This appears to just be an IDE usability issue.
This issue also occurs in Electric Eel.
This seemed to be related to
Thanks in advance!
Studio Build: Android Studio Flamingo | 2022.2.1 Patch 2
Version of Gradle Plugin: 8.0.2
Version of Gradle: 8.2.1
Version of Java: OpenJDK Runtime Environment Zulu17.40+20-SA (build 17.0.6+10-LTS)
OS: MacOS Ventura 13.4.1 (22F82)