lottie-flutter icon indicating copy to clipboard operation
lottie-flutter copied to clipboard

Missing values for keyframe

Open Durdonaa opened this issue 6 years ago • 2 comments

Animations are not rendering with the exception "Missing keyframe" Used example code provided by the developer team

Full exception: I/flutter ( 5428): creator: CustomPaint ← Lottie ← Column ← Center ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← I/flutter ( 5428): CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← I/flutter ( 5428): _InkFeatures-[GlobalKey#e5774 ink renderer] ← NotificationListener<LayoutChangedNotification> ← ⋯ I/flutter ( 5428): parentData: offset=Offset(30.0, 65.0); flex=null; fit=null (can use size) I/flutter ( 5428): constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=Infinity) I/flutter ( 5428): size: Size(300.0, 300.0) I/flutter ( 5428): This RenderObject has no descendants. I/flutter ( 5428): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter ( 5428): Another exception was thrown: Bad state: Missing values for keyframe. D/ViewRootImpl( 5428): ViewPostImeInputStage processPointer 0 D/ViewRootImpl( 5428): ViewPostImeInputStage processPointer 1 D/ViewRootImpl( 5428): ViewPostImeInputStage processPointer 0 D/ViewRootImpl( 5428): ViewPostImeInputStage processPointer 1 I/flutter ( 5428): Unknown shape rp I/flutter ( 5428): Unknown shape rp I/flutter ( 5428): Another exception was thrown: Bad state: Missing values for keyframe.

Flutter doctor result: Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.239], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [√] Android Studio (version 3.3) [√] VS Code, 64-bit edition (version 1.36.1) [√] Connected device (1 available)

• No issues found!

What is the problem here, who can help with that? :(

Durdonaa avatar Aug 13 '19 09:08 Durdonaa

Same issue here. It seems to occur in only select animations.

praharshbhatt avatar Sep 17 '19 06:09 praharshbhatt

I'd recommend using Flare for your Lottie animations in Flutter. This project is in bad shape and unlikely to be brought up to speed anytime soon.

dnfield avatar Sep 17 '19 06:09 dnfield