flutter Lottie动画问题
我在我的 flutter 应用程序中使用 Lottie 动画。我收到一条错误消息“使用 JsonReader.setLenient(true) 接受路径 $ 处格式错误的 JSON”
I am using Lottie animation in my flutter app . I got a error saying that "Use JsonReader.setLenient(true) to accept malformed JSON at path $
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就我而言,我更新了lottie的版本,我还发现下载json格式的lottie更好。
在这样的资产中:
代码调用lottie:
OBS:SimpleShadow()是一个库
结果:
行内有抽奖
我希望它有帮助
In my case I updated the version of lottie, and I also found it better to download lottie in json format.
and in assets like this:
the code call lottie:
OBS: SimpleShadow() is a library
Result:
Inside the line are lotties
I hope it helps