I would like to share UI between Android and Desktop, so I created a separate module, I changed dependencies from
androidx.compose
to
org.jetbrains.compose
and tried to compile. So far everything works as expected, it compiles and Android app is running, however IDE doesn’t recognize Compose dependencies. I’m using IntelliJ IDEA 2022.2.1 (Community Edition).
Is there anything I’m missing?
l
Landry Norris
09/28/2022, 8:33 PM
This is a bug in the Android Gradle Plugin that went with Chipmunk (7.2.x). You have to use Android Studio Dolphin (7.3.x) or higher for now.
k
KamilH
09/29/2022, 6:12 AM
Thanks, I had to switch straight to Electric Eel and 7.4.0-beta01 Android Gradle Plugin version, but it worked 🙂 On Dolphin and 7.3.x there was the same issue
l
Landry Norris
09/29/2022, 1:08 PM
Interesting. I’m not seeing any issues currently on Dolphin, but I’ll have to be on the lookout to see if this changes. Either way, Eel should be good.
k
KamilH
09/29/2022, 1:16 PM
Maybe the root cause in my case was different, I don’t know 🙂 anyway thanks for the tip