When i am opening the app it keeps stopping please help. i also tried many solutions from Community but it didn’t work for me Please help me
Crash Screenshot
My Apk
ayush_1.apk (6.5 MB)
My aia
ayush_1.aia (1007.2 KB)
When i am opening the app it keeps stopping please help. i also tried many solutions from Community but it didn’t work for me Please help me
Crash Screenshot
My Apk
ayush_1.apk (6.5 MB)
My aia
ayush_1.aia (1007.2 KB)
To find out what is going on, use logcat
Taifun
Crash is related with Lottie
java.lang.IllegalStateException: Unable to parse composition
at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:72)
at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:70)
at com.airbnb.lottie.LottieTask.notifyFailureListeners(LottieTask.java:158)
at com.airbnb.lottie.LottieTask.access$200(LottieTask.java:27)
at com.airbnb.lottie.LottieTask$1.run(LottieTask.java:133)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8296)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.lang.IllegalStateException: Expected a double but was END_ARRAY
at android.util.JsonReader.nextDouble(JsonReader.java:462)
at com.airbnb.lottie.parser.ColorParser.parse(ColorParser.java:22)
at com.airbnb.lottie.parser.ColorParser.parse(ColorParser.java:9)
at com.airbnb.lottie.parser.KeyframeParser.parseStaticValue(KeyframeParser.java:155)
at com.airbnb.lottie.parser.KeyframeParser.parse(KeyframeParser.java:60)
at com.airbnb.lottie.parser.KeyframesParser.parse(KeyframesParser.java:37)
at com.airbnb.lottie.parser.AnimatableValueParser.parse(AnimatableValueParser.java:79)
at com.airbnb.lottie.parser.AnimatableValueParser.parseColor(AnimatableValueParser.java:65)
at com.airbnb.lottie.parser.ShapeStrokeParser.parse(ShapeStrokeParser.java:39)
at com.airbnb.lottie.parser.ContentModelParser.parse(ContentModelParser.java:50)
at com.airbnb.lottie.parser.ShapeGroupParser.parse(ShapeGroupParser.java:34)
at com.airbnb.lottie.parser.ContentModelParser.parse(ContentModelParser.java:47)
at com.airbnb.lottie.parser.LayerParser.parse(LayerParser.java:116)
at com.airbnb.lottie.parser.LottieCompositionParser.parseLayers(LottieCompositionParser.java:109)
at com.airbnb.lottie.parser.LottieCompositionParser.parse(LottieCompositionParser.java:74)
at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSyncInternal(LottieCompositionFactory.java:248)
at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSync(LottieCompositionFactory.java:242)
at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:177)
at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:171)
at com.airbnb.lottie.LottieCompositionFactory.fromAssetSync(LottieCompositionFactory.java:114)
at com.airbnb.lottie.LottieCompositionFactory$2.call(LottieCompositionFactory.java:95)
at com.airbnb.lottie.LottieCompositionFactory$2.call(LottieCompositionFactory.java:93)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Try changing Lottie source to other and see
For Example:
Thanks it’s now working but what’s the issue with that lottie animation it was working in lottie web player but why it’s not working here i would be great if that lottie animation work with my app