Questions tagged [lottie]

Questions regarding Airbnb's Lottie, a library for rendering After Effects animations in real-time. Use this tag for questions regarding implementations using the Android, iOS, or React-based branches of Lottie.

Lottie allows adding animation to any native app.

Lottie is an iOS, Android, and React Native library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.

Site: https://airbnb.design/lottie/

836 questions
0
votes
2 answers

Xamarin Forms Lottie

Hello I'm trying to run xamarin forms with Lottie for Xamarin and it's crashing. I have installed the Forms Package and the Droid Package and I get the following error: Unhandled Exception: Java.Lang.ClassNotFoundException: Didn't find class…
amrswalha
  • 372
  • 8
  • 20
0
votes
1 answer

Lottie Animation not working on IOS

I am using Lottie for animation in Xamarin Forms app. The animation works fine on Android but the animation doesn't shows up on iOS. I have intialized AnimationViewRenderer in AppDelegate and using v2.4.0.Also, I have tried setting Auto Play mode…
Ashish Kumar
  • 755
  • 2
  • 6
  • 25
0
votes
2 answers

After Effects animation loaded with Lottie not playing

I'm using the Lottie library for iOS and trying to load an animation in .json format downloaded LottieFiles. I'm using this code in the viewDidLoad() method: let animationView = LOTAnimationView(name: "infinite_rainbow") animationView.loopAnimation…
Claus
  • 5,662
  • 10
  • 77
  • 118
0
votes
0 answers

How to animate the layer of a lottie animation?

I have an UIView with several other UIViews as subviews. Each one of these subviews can be clicked, and when they are they will animate their layer and "pop" out which makes it look like it's selected. But in each subview I also have a Lottie…
ClockWise
  • 1,509
  • 15
  • 32
0
votes
2 answers

How to slow down some operations on iOS

I have to do some complex calculations which lasts about 30 seconds (decoding some keys). I added and run simple animation (in lottie but I think it doesn't matter) so that the user don't need to get impatient. Because of calculations and processor…
Piotr Wasilewicz
  • 1,751
  • 2
  • 15
  • 26
0
votes
1 answer

How would I toggle an animation at runtime in React Native using Lottie?

I'm trying to create a save button (basically to bookmark a screen) that toggles animation whether a user taps the button to "save" an item or remove the "save". Tapping the button should call one of the animations whether it's the "on" animation or…
Diego Aguirre
  • 151
  • 1
  • 1
  • 10
0
votes
0 answers

Error:Execution failed for task ':app:prepareComAndroidSupportAnimatedVectorDrawable2610Library

I think there is a bug in android studio when i try to use lottie library from lottie introduction : Gradle is the only supported build configuration, so just add the dependency to your project build.gradle file: dependencies { ... …
hassan moradnezhad
  • 455
  • 2
  • 6
  • 26
0
votes
1 answer

I'm not able to see the text after adding Lottie animation

I need help. I have Intwgrate a Lottie but I'm unable to see the text which is in the button which is need to display after expanding the button. So does LotAnimationView supports the text rendering? Thanks in advance .
0
votes
1 answer

Android Lottie Build.gradle issue

After adding lottie to build.gradle file saying Error:Failed to resolve: com.android.support:appcompat-v7:26.1.0 Install Repository and sync project Open File Show in Project Structure dialog
Motley Uz
  • 3
  • 1
0
votes
2 answers

Can't add Lottie animation view to collection view cell

I was trying to add LOTAnimationView to my collection view cell, but nothing appears on the screen when I run the program.Here is the link to lottie. And Here is the code: class Cell: UICollectionViewCell{ var animationView:…
E.Ergit
  • 111
  • 1
  • 8
0
votes
1 answer

Error on bodymovin animation in react native?

I am using sample.json image file which is for bodymovin animation in my page through Lottie for React Native. I am getting the image but the image is not fully retrieved, some parts of the image is missing and also in some side of the image, green…
user1731387
0
votes
1 answer

How to resolve 'Unable to find file' when updating a property in a Lottie Animation View?

I have an issue with android. The file in the Android assets directory is not found. Error: Error while updating property 'sourceName' of a view managed by: LottieAnimationView null Unable to find file loading.js Animation file…
Lee
  • 5,816
  • 6
  • 45
  • 61
0
votes
1 answer

How can i run the Lottie animation on componentWillReceiveProps?

I would like to run the animation when my component receives an updated prop. Sample code: import React from 'react'; import Animation from 'lottie-react-native'; export default class BasicExample extends React.Component { componentDidMount()…
KD.
  • 2,015
  • 3
  • 28
  • 59
0
votes
1 answer

empty JSON export with after effects + bodymovin for Lottie

I have a basic animation in After Effects, installed bodymovin (without any errors), and would like to export as a Lottie Animation. But all I get when exporting is an empty JSON file. I do select my composition during the export of course and I…
ezmegy
  • 605
  • 6
  • 17
0
votes
1 answer

Animation text does not appear in my UIView object

I am using a UIObject to display an animation using Lottie framework which is a submit button, and when this UIView object is tapped, the animation is played. However the text within this animation does not appear, and the dimensions are also wrong.…