Кто-то сделал для меня эту анимацию Лотти: 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.(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)
Подробнее здесь: https://stackoverflow.com/questions/590 ... ot-loop-ba
Странная ошибка анимации Lottie на Android, работает на iOS. Путь не может вернуться к самому себе ⇐ Android
Форум для тех, кто программирует под Android
1729083240
Anonymous
Кто-то сделал для меня эту анимацию Лотти: 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.(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)
Подробнее здесь: [url]https://stackoverflow.com/questions/59095209/lottie-animation-strange-error-on-android-works-on-ios-the-path-cannot-loop-ba[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия