uno icon indicating copy to clipboard operation
uno copied to clipboard

[Android] app stuck on resource loading

Open xperiandri opened this issue 1 year ago • 3 comments

Current behavior

When debugger is attached an app stuck at the line global::Windows.ApplicationModel.Resources.ResourceLoader.DefaultLanguage = "en"; in the App.InitializeComponent method image

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

xperiandri avatar Jun 25 '24 19:06 xperiandri

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.

jeromelaban avatar Jun 25 '24 20:06 jeromelaban

Do you mean net7.0 or different SDK like 8.0.202?

xperiandri avatar Jun 25 '24 20:06 xperiandri

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).

jeromelaban avatar Jun 25 '24 21:06 jeromelaban

@xperiandri out of curiosity and posterity - how did you resolve this please?

MartinZikmund avatar Oct 30 '24 12:10 MartinZikmund

Probably I updated .NET version or workloads. I don't remember now

xperiandri avatar Oct 30 '24 20:10 xperiandri