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

Ash

01/11/2020, 7:21 PM
Does anyone have Room working with Jetpack Compose? The project compiles fine but when I try to run I get
java.lang.NoSuchMethodError:GenerationState$Builder.isIrBackend(Z)Lorg/
. I thought I saw a bug fix in the latest Android Studio release notes but I am still getting the error. Could someone please point me to a GitHub or other example where it is working? This a show stopper for us :- ( Thanks really appreciate everyone's help :- )
m

Mark Murphy

01/11/2020, 7:27 PM
AFAIK the limitations outlined in https://kotlinlang.slack.com/archives/CJLTWPH7S/p1575378726256800 are still relevant
a

Ash

01/11/2020, 7:32 PM
Bummers ... I will look for the Android Studio release notes that addressed this ... I must have misread them.
@Mark Murphy Thanks for the info. I guess I looked at the wrong note because it is clearly still an issue ... https://youtrack.jetbrains.com/issue/KT-34583 Thanks!
👍 1
d

danieldisu

01/13/2020, 7:38 AM
Maybe using Room in a different module than compose works
a

Ash

01/14/2020, 1:02 AM
On Jan 9th they said they will fix it .... hopefully soon.
t

Tash

01/14/2020, 2:08 AM
+1 to what @danieldisu said. I'm keeping all Compose related code in a separate library module so that its isolated.
a

Ash

01/20/2020, 11:49 PM
@Tash true but it sounds like an easy fix for them ... and I can not change our module structure unless the whole team agrees 😞https://youtrack.jetbrains.com/issue/KT-34583#focus=streamItem-27-3893145.0-0
3 Views