You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i tried the flutter_lottie exmaple avilable in the code but got the error,
I/flutter (11371): Creating Method Channel convictiontech/flutter_lottie_0 E/flutter (11371): [ERROR:flutter/shell/common/shell.cc(199)] Dart Error: Unhandled exception: E/flutter (11371): PlatformException(error, java.lang.IllegalStateException: Unable to parse composition E/flutter (11371): at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:68) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:66) E/flutter (11371): at com.airbnb.lottie.LottieTask.addFailureListener(LottieTask.java:111) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView.setCompositionTask(LottieAnimationView.java:386) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView.setAnimation(LottieAnimationView.java:338) E/flutter (11371): at com.example.flutter_lottie.LottieView.create(LottieView.java:68) E/flutter (11371): at com.example.flutter_lottie.LottieView.<init>(LottieView.java:38) E/flutter (11371): at com.example.flutter_lottie.LottieViewFactory.create(LottieViewFactory.java:20) E/flutter (11371): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:174) E/flutter (11371): at android.app.Dialog.dispatchOnCreate(Dialog.java:407) E/flutter (11371): at android.app.Dialog.show(Dialog.java:302) E/flutter (11371): at android.app.Presentation.show(Presentation.java:249) E/flutter (11371): at io.flutter.plugin.platform.VirtualDisplayController.<init>(VirtualDisplayController.java:93) E/flutter (11371): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:53) E/flutter (11371): at io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(PlatformViewsController.java:105) E/flutter (11371): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:96) E/flutter (11371): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60) E/flutter (11371): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:231) E/flutter (11371): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93) E/flutter (11371): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:642) E/flutter (11371): at android.os.MessageQueue.nativePollOnce(Native Method) E/flutter (11371): at android.os.MessageQueue.next(MessageQueue.java:326) E/flutter (11371): at android.os.Looper.loop(Looper.java:160) E/flutter (11371): at android.app.ActivityThread.main(ActivityThread.java:6669) E/flutter (11371): at java.lang.reflect.Method.invoke(Native Method) E/flutter (11371): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/flutter (11371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) E/flutter (11371): Caused by: java.io.FileNotFoundException: flutter_assets/assets/animations/donut.json E/flutter (11371): at android.content.res.AssetManager.nativeOpenAsset(Native Method) E/flutter (11371): at android.content.res.AssetManager.open(AssetManager.java:744) E/flutter (11371): at android.content.res.AssetManager.open(AssetManager.java:721) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory.fromAssetSync(LottieCompositionFactory.java:100) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory$1.call(LottieCompositionFactory.java:81) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory$1.call(LottieCompositionFactory.java:79) E/flutter (11371): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/flutter (11371): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/flutter (11371): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/flutter (11371): at java.lang.Thread.run(Thread.java:764) E/flutter (11371): , null)
The text was updated successfully, but these errors were encountered:
i tried the flutter_lottie exmaple avilable in the code but got the error,
I/flutter (11371): Creating Method Channel convictiontech/flutter_lottie_0 E/flutter (11371): [ERROR:flutter/shell/common/shell.cc(199)] Dart Error: Unhandled exception: E/flutter (11371): PlatformException(error, java.lang.IllegalStateException: Unable to parse composition E/flutter (11371): at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:68) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView$2.onResult(LottieAnimationView.java:66) E/flutter (11371): at com.airbnb.lottie.LottieTask.addFailureListener(LottieTask.java:111) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView.setCompositionTask(LottieAnimationView.java:386) E/flutter (11371): at com.airbnb.lottie.LottieAnimationView.setAnimation(LottieAnimationView.java:338) E/flutter (11371): at com.example.flutter_lottie.LottieView.create(LottieView.java:68) E/flutter (11371): at com.example.flutter_lottie.LottieView.<init>(LottieView.java:38) E/flutter (11371): at com.example.flutter_lottie.LottieViewFactory.create(LottieViewFactory.java:20) E/flutter (11371): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:174) E/flutter (11371): at android.app.Dialog.dispatchOnCreate(Dialog.java:407) E/flutter (11371): at android.app.Dialog.show(Dialog.java:302) E/flutter (11371): at android.app.Presentation.show(Presentation.java:249) E/flutter (11371): at io.flutter.plugin.platform.VirtualDisplayController.<init>(VirtualDisplayController.java:93) E/flutter (11371): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:53) E/flutter (11371): at io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(PlatformViewsController.java:105) E/flutter (11371): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:96) E/flutter (11371): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60) E/flutter (11371): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:231) E/flutter (11371): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93) E/flutter (11371): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:642) E/flutter (11371): at android.os.MessageQueue.nativePollOnce(Native Method) E/flutter (11371): at android.os.MessageQueue.next(MessageQueue.java:326) E/flutter (11371): at android.os.Looper.loop(Looper.java:160) E/flutter (11371): at android.app.ActivityThread.main(ActivityThread.java:6669) E/flutter (11371): at java.lang.reflect.Method.invoke(Native Method) E/flutter (11371): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/flutter (11371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) E/flutter (11371): Caused by: java.io.FileNotFoundException: flutter_assets/assets/animations/donut.json E/flutter (11371): at android.content.res.AssetManager.nativeOpenAsset(Native Method) E/flutter (11371): at android.content.res.AssetManager.open(AssetManager.java:744) E/flutter (11371): at android.content.res.AssetManager.open(AssetManager.java:721) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory.fromAssetSync(LottieCompositionFactory.java:100) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory$1.call(LottieCompositionFactory.java:81) E/flutter (11371): at com.airbnb.lottie.LottieCompositionFactory$1.call(LottieCompositionFactory.java:79) E/flutter (11371): at java.util.concurrent.FutureTask.run(FutureTask.java:266) E/flutter (11371): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/flutter (11371): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/flutter (11371): at java.lang.Thread.run(Thread.java:764) E/flutter (11371): , null)
The text was updated successfully, but these errors were encountered: