Ethan Banh
10/11/2024, 7:46 PMandroidx.compose.foundation:foundation
, but after done syncing I always only can get androidx.compose.foundation:foundation-android
it automatically changed to android version of that library not sure where did I go wrong, I'm new to compose kmp, thank you everyone!wwalkingg
10/12/2024, 3:01 AMEthan Banh
10/12/2024, 3:07 AMAlbert Chang
10/12/2024, 4:20 AMEthan Banh
10/12/2024, 2:54 PMandroidx.compose.foundation:foundation-layout
, but when I tried to add implementation("androidx.compose.foundation:foundation-layout:x.x.x")
into the androidMain
source set I only can get androidx.compose.foundation:foundation-layout-android
Albert Chang
10/12/2024, 4:58 PMFlowRow
, so what’s the problem?Ethan Banh
10/12/2024, 10:56 PMFlowRow
in native Android UI, so the actual problem is when working on native Android UI part, I have to use a local aar UI library from client, in this aar they are using FlowRow
I guess and when I use the UI components from this library I got this crash: java.lang.NoSuchMethodError: No static method FlowRow(Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/layout/Arrangement$Horizontal;Landroidx/compose/ui/Alignment$Vertical;ILkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/foundation/layout/FlowLayoutKt; or its super classes (declaration of 'androidx.compose.foundation.layout.FlowLayoutKt'
could the issue be the different version of compose foundation version I'm using and they are using from the aar library?Albert Chang
10/13/2024, 2:03 AM