Hey! I’m trying to add Compose to an existing project, and I get this compilation error:
java.lang.IllegalStateException: new updateScope not found in result type of endRestartGroup
This happens as soon as I add the first @Composable annotated fun to the code (even if it’s completely empty).
Any idea what I’m doing wrong?
Zsolt
06/17/2020, 11:07 AM
In case anyone else runs into this: this was caused by mismatched compose version numbers in dependencies across gradle files
🎖️ 4
s
stewemetal
09/05/2020, 6:48 AM
Just ran into this... you deserve a medal. 😄
j
Javier
09/10/2020, 12:20 AM
I am having this issue but I am using the same dependency for all compose artifacts, but, for some reason, it is using in the compiler artifact the version alpha01 instead of alpha02. Maybe a transitive dependency?