tylerwilson
02/11/2021, 9:15 PMDuplicate class androidx.compose.runtime.savedinstancestate.ExperimentalRestorableStateHolder found in modules jetified-runtime-saveable-1.0.0-alpha12-runtime (androidx.compose.runtime:runtime-saveable:1.0.0-alpha12) and jetified-runtime-saved-instance-state-1.0.0-alpha11-runtime (androidx.compose.runtime:runtime-saved-instance-state:1.0.0-alpha11)
Anybody here know how to clean out the jetifier cache? I tried cleaning all Gradles caches, but that did not fix it. Thanks!jim
02/11/2021, 9:16 PM./gradlew app:dependencies --no-daemon
which will dump a tree of all dependencies and why they got resolved. You are looking for references to alpha11
and will want to upgrade those dependencies to their alpha12
variants.alpha11
, as you are not the first person to mention seeing this after upgrading.tylerwilson
02/11/2021, 9:18 PMjim
02/11/2021, 9:20 PMalpha12
dependencies and remove them.tylerwilson
02/11/2021, 9:20 PM+--- androidx.compose.ui:ui-tooling:1.0.0-alpha11
| +--- androidx.annotation:annotation:1.1.0 -> 1.2.0-alpha01
| +--- androidx.compose.runtime:runtime:1.0.0-alpha11 -> 1.0.0-alpha12 (*)
| +--- androidx.compose.ui:ui:1.0.0-alpha11 -> 1.0.0-alpha12 (*)
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.21-2 -> 1.4.30 (*)
| \--- androidx.compose.material:material:1.0.0-alpha11
| +--- androidx.compose.animation:animation-core:1.0.0-alpha11 -> 1.0.0-alpha12 (*)
| +--- androidx.compose.foundation:foundation:1.0.0-alpha11 -> 1.0.0-alpha12
| | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0-alpha01
| | +--- androidx.compose.animation:animation:1.0.0-alpha12
| | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0-alpha01
| | | +--- androidx.compose.animation:animation-core:1.0.0-alpha12 (*)
| | | +--- androidx.compose.foundation:foundation-layout:1.0.0-alpha12
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.2.0-alpha01
Ian Lake
02/11/2021, 9:49 PM-> 1.0.0-alpha12
means something other artifact is moving you to alpha12
tylerwilson
02/11/2021, 9:50 PMIan Lake
02/11/2021, 9:51 PMtylerwilson
02/11/2021, 9:52 PMScott Kruse
02/13/2021, 8:55 AMalpha12
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1613204163376100