Pierre Kuhn
05/12/2021, 3:25 PMJohn O'Reilly
05/12/2021, 3:34 PMPierre Kuhn
05/12/2021, 3:37 PMColton Idle
05/12/2021, 4:36 PMPierre Kuhn
05/12/2021, 4:45 PMjava.lang.NoSuchMethodError: No static method setContent$default(Landroidx/activity/ComponentActivity;Landroidx/compose/runtime/CompositionContext;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V in class Landroidx/activity/compose/ComponentActivityKt...
I just added a very simple composable function to one of our activity, that just displays some text.
Have you folks ever run into that issue?Pierre Kuhn
05/12/2021, 4:46 PMsetContent()
is coming from activity-compose
dependency if I'm not wrong. I added this one:
// Integration with activities
implementation 'androidx.activity:activity-compose:1.3.0-alpha03'
Ian Lake
05/12/2021, 5:03 PM1.3.0-alpha07
at this point: https://developer.android.com/jetpack/androidx/releases/activity#1.3.0-alpha07Pierre Kuhn
05/12/2021, 6:25 PM1.3.0-alpha07
and I'm still getting the exact same crash.