PHondogo
12/14/2021, 3:25 PMjava.lang.NoSuchMethodError: No static method infiniteRepeatable-9IiC70o$default(Landroidx/compose/animation/core/DurationBasedAnimationSpec;Landroidx/compose/animation/core/RepeatMode;JILjava/lang/Object;)Landroidx/compose/animation/core/InfiniteRepeatableSpec; in class Landroidx/compose/animation/core/AnimationSpecKt; or its super classes (declaration of 'androidx.compose.animation.core.AnimationSpecKt'
val rotation = remember { Animatable(0f) }
LaunchedEffect(Unit) {
rotation.animateTo(
targetValue = 360f,
animationSpec = infiniteRepeatable(
animation = tween(durationPerCycle, easing = LinearEasing),
repeatMode = RepeatMode.Restart
)
)
}
org.jetbrains.compose:compose-gradle-plugin:1.0.0
Zoltan Demant
12/14/2021, 3:42 PMPHondogo
12/15/2021, 6:56 AM