我正在尝试使用 Lottie 来显示动画,但是当我为 Android 调试它时遇到了问题:
LottieAnimationView not displayed because it is too large to fit into a software layer (or drawing cache), needs 9072000 bytes, only 8294400 available
我的 XAML 代码:
<ContentPage.Content>
<StackLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand">
<forms:AnimationView
x:Name="AnimationView"
Animation="data.json"
AutoPlay="True" Loop="true"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Scale="0.2"/>
</StackLayout>
谁能帮我解决这个问题?
最佳答案
关于c# - Xamarin 洛蒂动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53366331/