uno
uno copied to clipboard
[Android] app stuck on resource loading
Current behavior
When debugger is attached an app stuck at the line global::Windows.ApplicationModel.Resources.ResourceLoader.DefaultLanguage = "en"; in the App.InitializeComponent method
I tried applying <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> but I still cannot step into the App.InitializeComponent
When not attached it just closes
Expected behavior
App loads correctly
How to reproduce it (as minimally and precisely as possible)
Give me the suggestion on how can I narrow the problem further. I don't know how to create repro sample now
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
5.2.161
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.10.3
Relevant plugins
No response
Anything else we need to know?
No response
This feels like a .NET issue we won't be able to get around. You can try with different version of .NET to see if anything changes.
Do you mean net7.0 or different SDK like 8.0.202?
Testing different versions like 8.0.300, or even net 9.0 if you're up for it. This feels like an ICU issue (we don't control that part of .NET).
@xperiandri out of curiosity and posterity - how did you resolve this please?
Probably I updated .NET version or workloads. I don't remember now