https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
p

PHondogo

01/20/2023, 8:46 AM
Hello! I'm using androidx.compose.material3.DropdownMenu in Kotlin MPP. While on desktop it is working, on Android failed with
Copy code
java.lang.ClassNotFoundException: Didn't find class "androidx.compose.material3.SkikoMenu_skikoKt"
e

eygraber

01/20/2023, 7:59 PM
What version of compose-jb are you using?
p

PHondogo

01/20/2023, 10:44 PM
1.3.0-rc05
o

Oleksandr Karpovich [JB]

01/21/2023, 7:14 AM
As I see in the source code the DropDownMenu is available only for skiko targets (desktop, k/js, k/native). So it's not expected to be even available for android.
e

eygraber

01/22/2023, 12:21 AM
Android has support for it in the android source set (I added the support for skiko recently). It works for me in 1.3.0-rc2 on Android, JVM, and js. I'll try with rc5 shortly.
I just trued with rc5 and it works there as well.
29 Views