有人为我制作了这个Lottie动画:https://lottiefiles.com/share/DO3Kpo
它似乎可以在iOS上完美运行,但是在Android上会引发以下异常。我们做了很多尝试,但无法弄清楚问题可能出在哪里。有人对此有何想法?
Java.Lang.IllegalStateException: Unable to parse composition ---> Java.Lang.IllegalArgumentException: The Path cannot loop back on itself.
at java.lang.IllegalArgumentException: The Path cannot loop back on itself.
at at android.view.animation.PathInterpolator.initPath(PathInterpolator.java:185)
at at android.view.animation.PathInterpolator.initCubic(PathInterpolator.java:158)
at at android.view.animation.PathInterpolator.<init>(PathInterpolator.java:89)
at at android.support.v4.view.animation.PathInterpolatorCompat.create(PathInterpolatorCompat.java:82)
at at com.airbnb.lottie.parser.KeyframeParser.parseKeyframe(KeyframeParser.java:130)
at at com.airbnb.lottie.parser.KeyframeParser.parse(KeyframeParser.java:58)
at at com.airbnb.lottie.parser.PathKeyframeParser.parse(PathKeyframeParser.java:21)
at at com.airbnb.lottie.parser.AnimatablePathValueParser.parse(AnimatablePathValueParser.java:29)
at at com.airbnb.lottie.parser.AnimatablePathValueParser.parseSplitPath(AnimatablePathValueParser.java:55)
at at com.airbnb.lottie.parser.AnimatableTransformParser.parse(AnimatableTransformParser.java:54)
at at com.airbnb.lottie.parser.LayerParser.parse(LayerParser.java:99)
at at com.airbnb.lottie.parser.LottieCompositionParser.parseAssets(LottieCompositionParser.java:147)
at at com.airbnb.lottie.parser.LottieCompositionParser.parse(LottieCompositionParser.java:77)
at at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSyncInternal(LottieCompositionFactory.java:248)
at at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSync(LottieCompositionFactory.java:242)
at at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:177)
at at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:171)
at at com.airbnb.lottie.LottieCompositionFactory.fromAssetSync(LottieCompositionFactory.java:114)
at at com.airbnb.lottie.LottieCompositionFactory$2.call(LottieCompositionFactory.java:95)
at at com.airbnb.lottie.LottieCompositionFactory$2.call(LottieCompositionFactory.java:93)
at at java.util.concurrent.Futuretask.run(Futuretask.java:266)
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at at java.lang.Thread.run(Thread.java:764)