Can't seem to get past this error. `java.lang.NoS...
# compose
k
Can't seem to get past this error.
java.lang.NoSuchMethodError: No static method setContent(Landroid/app/Activity;Lkotlin/jvm/functions/Function0;)Landroidx/compose/Composition; in class Landroidx/ui/core/WrapperKt; or its super classes
I'd like to use
0.1.0-dev08
to play with
AdapterList
.
a
did you set this?
k
Yes.
a
If you are still stuck I would look at the various GitHub examples and see if anyone is doing it. The way I found that I could not do what I wanted is because no one had it working.
c
I am using ViewGroup.setcontent{}. @Ash Fixed error as you mentioned the compiler option. Working find with LinearLayout as a parent. When it comes to ConstraintLayout and synthetic functions facing error like java.lang.NoClassDefFoundError: Failed resolution of:
Landroidx/constraintlayout/solver/widgets/Analyzer