Weird excessive amounts of LogCat for frame rate appearing on Android 15/16 when running animations

3 weeks ago 20
ARTICLE AD BOX

Im seeing a lot of the following in the LogCat for any App i'm running that has some sort of animation on it.

setRequestedFrameRate frameRate=NaN, this=android.view.View setRequestedFrameRate frameRate=NaN, this=androidx.compose.ui.platform.AndroidComposeView

Limited on testing devices it seems occur on Android 15/16 and Samsung devices. We are running the latest Android Studio and phones are all up to date.

val fadeInAnimation = rememberInfiniteTransition() val alpha by fadeInAnimation.animateFloat( initialValue = 0f, targetValue = 1f, animationSpec = infiniteRepeatable( animation = tween(durationMillis = 4000), repeatMode = RepeatMode.Restart ), label = "" )

Anything that uses this type of Animation seems to be causeing the issue.
Anyone else seen simialr and solved it ?

Read Entire Article