```java.lang.NoClassDefFoundError: Failed resoluti...
# compose
p
Copy code
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/runtime/savedinstancestate/RestorableStateHolderKt;
        at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:104)
        at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:58)
Currently getting this on latest snapshot build when
NavHost()
is called, was trying out deep links/args with compose navigation. Anyone else or is this on my end? Edit: Seems to be happening when going from build 6921995 to 6922573
g
where do you find the snapshots? Sorry ot
i
Are you using a snapshot version of
androidx.compose.runtime:runtime-saved-instance-state
as well? When using snapshots, you should really be using a snapshot of everything since otherwise you won't have the right transitive dependencies
p
Some dependencies were still on alpha05. Seems like that was the issue. thanks!
g
@P.J. sorry for the questions but how do you view the navigation-compose-samples when looking at a snapshot?
p
Just check the navigation-compose package on the androidx github. https://github.com/androidx/androidx/tree/androidx-master-dev/navigation/navigation-compose
g
Thanks :) I assumed they wouldn't be there xD
i
Like other Compose artifacts, Compose Navigation is only mirrored onto github (we don't currently accept pull requests there). You can also view the source code on cs.android.com: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:navigation/navigation-compose/
g
👍
274 Views