compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

ui-graphics is not published for android

Open luca992 opened this issue 2 years ago • 3 comments

Not sure if this is intentional, ui-graphics isn't being published for android

https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/ui/ui-graphics-android/

luca992 avatar Aug 10 '22 21:08 luca992

Yes, that is intentional. We don't publish android artifacts. When someone writes an MPP application, the application reuses the build of Jetpack Compose, published by Google.

igordmn avatar Aug 11 '22 10:08 igordmn

@igordmn So I've figured out my actual issue is that intellij fails to recognize all compose imports in the androidMain source set after updating to the android gradle plugin 7.2.2 . All compose imports using the 7.1 plugin are correctly resolved by intellij. I'm using the latest alpha build. I probably should make a separate issue. But is there any workaround for using 7.2+ ?

luca992 avatar Aug 12 '22 01:08 luca992

@luca992 There was a discussion about this in the Kotlin Slack. It appears that using Dolphin or Electric Eel (with 7.3 rc or 7.4 beta gradle versions respectively) can recognize the compose imports, but compose-jb is currently not recognized by gradle 7.2.

LandryNorris avatar Aug 24 '22 17:08 LandryNorris

intellij fails to recognize all compose imports in the androidMain source set after updating to the android gradle plugin 7.2.2

This issue is fixed in AGP 7.3.0.

AGP 7.3.0 is supported by IDEA 2022.3 EAP (223.4884.69) and Android Studio Dolphin 2021.3.1

igordmn avatar Oct 04 '22 23:10 igordmn

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Jul 14 '24 17:07 okushnikov