小编uda*_*kar的帖子

为什么 Xamarin.FFImageLoading SVG 无法在 Android 11 和 12 上运行?

Xamarin.FFImageLoading SVG 似乎不适用于 Android 11 和 12。

例如,当我将 Android Target 设置为 11 版本时,在嵌入式资源上设置 SVG,使用以下代码:

<ffimageloadingsvg:SvgCachedImage HeightRequest="12" Source="resource://DemoApp.Assets.Images.svgImage.svg" BackgroundColor="Transparent" Aspect="Fill" HorizontalOptions="FillAndExpand" VerticalOptions="Start"/>
Run Code Online (Sandbox Code Playgroud)

除了 Android 11 和 12 之外,此 SVG 工作正常。

谁能帮忙找出为什么它在 Android 11 和 12 上不显示吗?

svg android xamarin ffimageloading

2
推荐指数
1
解决办法
1305
查看次数

标签 统计

android ×1

ffimageloading ×1

svg ×1

xamarin ×1