I’m having an error while calling `rememberNavCont...
# compose
t
I’m having an error while calling
rememberNavController()
with navigation
2.4.0-alpha01
and
1.0.0-beta07
It’s throwing
java.lang.NoSuchMethodError: No interface method startReplaceableGroup(ILjava/lang/String;)V in class Landroidx/compose/runtime/Composer;
Does anyone know what am I missing?
r
make sure you migrated all the compose libs to
1.0.0-beta07
, I've faced same issue when version mismatch happened, this includes accompanist lib
0.10.0
t
Turns out I forgot updating a lib version. Tks alot 🙌
i
Yep, every one of the Compose release notes mention that exact error message, noting that you need to make sure every library dependent on Compose is recompiled against beta07: https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.0.0-beta07
🙌🏼 1
🙌 2