小编mpa*_*r78的帖子

Lottie.Forms中不存在类型或名称空间“ Droid”

我在Android和iOS上使用Xamarin.Forms。试图使Lottie动画起作用,但是支持.NET Standard 2.0的最新版本的Lottie(2.5.4)在Android项目中给出了构建错误:

The type or namespace name 'Droid' does not exist in the namespace 'Lottie.Forms' (are you missing an assembly reference?)

查看Lottie GitHub源代码显示了名称空间和类,因此我不确定为什么我的Android项目找不到引用。

我曾尝试将Lottie降级,但到目前为止还没有运气。包含参考(2.5.0)的最早版本不适用于.NET Standard。

有想法吗?

xamarin.forms lottie-android lottie

3
推荐指数
1
解决办法
606
查看次数

标签 统计

lottie ×1

lottie-android ×1

xamarin.forms ×1