Hello! Have anyone faced with ```java.lang.NoClass...
# compose
p
Hello! Have anyone faced with
Copy code
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/animation/core/StartOffset;
when calling
Copy code
InfiniteRepeatableSpec(
                animation = tween(200, easing = LinearEasing),
                repeatMode = RepeatMode.Restart,
                initialStartOffset = StartOffset(0)
            )
?
a
Have you tried invalidating caches and restarting Android Studio?
I had a similar issue with a different class, invalidating and restarting has helped
d
StartOffset was introduced in 1.1.0-alpha02. (https://developer.android.com/jetpack/androidx/releases/compose-animation#1.1.0-alpha02) You might want to check your libraries and make sure the compose animation library you depend on is no older than that.