czuckie
09/06/2023, 9:46 AMczuckie
09/06/2023, 9:48 AMjava.lang.NoSuchMethodError: No static method weight$default(Landroidx/compose/foundation/layout/RowScope;Landroidx/compose/ui/Modifier;FZILjava/lang/Object;)Landroidx/compose/ui/Modifier; in class Landroidx/compose/foundation/layout/RowScope; or its super classes (declaration of 'androidx.compose.foundation.layout.RowScope' appears in /data/app/com.example.redacted-1/base.apk)
The only other interesting thing which I haven't ruled out yet is, I'm using K2, I'm going to try and not do that and see if the problem persists.czuckie
09/06/2023, 9:53 AMczuckie
09/06/2023, 9:57 AMRow {
...
Spacer(modifier = Modifier.weight(1f))
...
}
Is the offending code in the artifact, but if use the exact same expression in the application, it's fine with that. It's only code from the artifact.
Is there special considerations when creating a JC library I'm unaware of?czuckie
09/06/2023, 10:10 AMvide
09/06/2023, 10:43 AMvide
09/06/2023, 10:44 AMvide
09/06/2023, 10:46 AMczuckie
09/06/2023, 10:46 AMModifier.weight(1f)
, without setting the fill
parameter to a value, it looks like it's trying to resolve a method with a single parameterczuckie
09/06/2023, 10:46 AMvide
09/06/2023, 10:47 AMczuckie
09/06/2023, 10:47 AMvide
09/06/2023, 10:48 AMczuckie
09/06/2023, 10:48 AMczuckie
09/06/2023, 10:48 AMvide
09/06/2023, 10:49 AMvide
09/06/2023, 10:50 AMczuckie
09/06/2023, 10:52 AMczuckie
09/06/2023, 10:53 AMczuckie
09/11/2023, 7:32 AMczuckie
09/11/2023, 7:40 AM