Is there a known issue where common code doesn't r...
# multiplatform
e
Is there a known issue where common code doesn't resolve in Android Studio? I have a jvm module that depends on a multiplatform module with common code. All of the common code is red and marked as an "Unresolved reference". The project builds and it works fine in Intellij, so it looks like it's just Android Studio that has a problem. Using Android Studio Bumblebee Beta 4
m
There is definitely some kind of issue here. For me I get the red in my CommonMain section of the shared module... although the same project in AS on the Mac doesn't have that problem. This is with Arctic Fox. Same as for you it builds and runs just fine. I haven't seen anyone come up with a cause, or fix.
e
Looks like someone reported this - https://issuetracker.google.com/issues/174678302
s
Saw the exact same problem yesterday. And it was working initially - then broke, no idea why, all "invalidate cashes and restart" didn't help.