https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

11/05/2020, 12:43 AM
Anyone using gson or moshi (reflection based) with Compose? Simply enabling compose (I'm not even using an compose code) in a project with reflection causes kotlin reflect to crash at runtime. https://youtrack.jetbrains.com/issue/KT-42322 Just curious if someone has figured out some kind of workaround yet.
a

Adam Powell

11/05/2020, 1:22 AM
Looks like you're using the kotlin-reflect library for kotlin 1.4.20-M1, which compose doesn't support yet
Make sure the kotlin-reflect version matches the compiler version
c

Colton Idle

11/05/2020, 3:12 PM
@Adam Powell repro'd here https://github.com/ColtonIdle/KT-42322 using 1.4.10 of kotlin. anything else look wonky to you?
👍 1
3 Views