Lottie crash app

In assets I have some json that if I use the application works without problem, if I put a new json either and apply it in a lottie the application to work.

with old json that was already in assets before the upgrade works as you can see in the image
with json new that I put in assets today the app stops responding, I’ve tested several json lottie site and none works

What is the strange behaviour you found in new version and what is expected behaviour?

json doesn’t load and break the app, just new json, the old ones before eagle don’t cause problems loading

I can’t read the texts on 2nd image (the notice!) It can be helpful if you translate it in English.

Tip: Downlod the old json file again and replace it on app.

text : GiGi Administrator continuous error

Try this step and let me know the result.

deleted an old one in assets, downloaded it again, put it in lottie and it worked

json old Unapproved cross on Lottiefiles. Free Lottie, Bodymovin Animation

json new door on Lottiefiles. Free Lottie, Bodymovin Animation (crash app)

i tested 4 new json and all 4 make the app stop working

  1. Check if you set your json correctly.
  2. Check if you set app package name as com.companyname.appname or Default.
  3. Check if your blocks are correct.

If you find nothing wrong, you can share an aia here…

package name: com.gigi.marketing
blocks yes correct

json was downloaded from the lottie website and their application works without problem the error happens only in kodular.

Can you send a small aia that can reflect the issue?

one moment please

GiGi_Presentes_admin_copia.aia (5.2 MB)

erro in screen13

ERRO

java.lang.IllegalStateException: Missing values for keyframe.
at com.airbnb.lottie.animation.keyframe.IntegerKeyframeAnimation.getValue(IntegerKeyframeAnimation.java:16)
at com.airbnb.lottie.animation.keyframe.IntegerKeyframeAnimation.getValue(IntegerKeyframeAnimation.java:8)
at com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation.getValue(BaseKeyframeAnimation.java:125)
at com.airbnb.lottie.model.layer.BaseLayer.draw(BaseLayer.java:197)
at com.airbnb.lottie.model.layer.CompositionLayer.drawLayer(CompositionLayer.java:100)
at com.airbnb.lottie.model.layer.BaseLayer.draw(BaseLayer.java:201)
at com.airbnb.lottie.LottieDrawable.draw(LottieDrawable.java:319)
at android.widget.ImageView.onDraw(ImageView.java:1360)
at android.view.View.draw(View.java:20261)
at android.view.View.buildDrawingCacheImpl(View.java:19532)
at android.view.View.buildDrawingCache(View.java:19392)
at android.view.View.draw(View.java:19981)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.draw(View.java:20264)
at android.view.View.updateDisplayListIfDirty(View.java:19136)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1246)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1426)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at com.google.appinventor.components.runtime.ScaledFrameLayout.dispatchDraw(SourceFile:57)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.updateDisplayListIfDirty(View.java:19127)
at android.view.View.draw(View.java:19989)
at android.view.ViewGroup.drawChild(ViewGroup.java:4337)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4114)
at android.view.View.draw(View.java:20264)
at com.android.internal.policy.DecorView.draw(DecorView.java:801)
at android.view.View.updateDisplayListIfDirty(View.java:19136)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:801)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3406)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3179)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2548)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1523)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7395)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1065)
at android.view.Choreographer.doCallbacks(Choreographer.java:877)
at android.view.Choreographer.doFrame(Choreographer.java:808)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1051)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

what’s up ???

Dude you sent a jumbo size aia! :dizzy_face:
Please send a small demo aia that can reflect the issue.

teste.aia (31.8 KB)

That’s good! I’ll be back in a while…

Yes, app crashes… Can you please provide me the json file link?

door on Lottiefiles. Free Lottie, Bodymovin Animation