AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.22k stars 2.18k forks source link

Avalonia.Android update 11.1.0 error #16435

Open YSW33 opened 1 month ago

YSW33 commented 1 month ago

Is your feature request related to a problem? Please describe.

Avalonia.Android update 11.1.0

protected override void OnCreate(global::Android.OS.Bundle savedInstanceState)

savedInstanceState is null

System.InvalidOperationException: 'Could not create glyphTypeface. Font family: $Default (key: ). Style: Normal. Weight: Normal. Stretch: Normal'

Describe the solution you'd like

image

Describe alternatives you've considered

No response

Additional context

No response

YSW33 commented 1 month ago

image

YSW33 commented 1 month ago

Only default fonts can be used。 image

timunie commented 1 month ago

I believe the other package is not 11.1 compatible yet. Ask the author please

maxkatz6 commented 1 month ago

Normally, packages don't really need to be 11.1 compatible, as 11.1 is binary compatible with 11.0.