Repository navigation
Rollup updates for Xamarin.Forms compatibility - #37
Merged
Merged
Conversation
The workaround was added for wasm only, but we forgot to add the namespace prefix then.
This fixes adaptive trigger on SplitView.DisplayMode not working in SampleChooserControl
Fix exception introduced by recent changes to InputScope.
- Work around UICollectionView crash when inserting items into an empty collection. - Downgrade visible item sanity-check from error to warning.
…rly restored In some cases, args.PreviousParent would be null instead of the CommandBar instance. Systematically restoring the CommandBar as the parent is simpler and more predictable.
It would pop the bottom of the stack (_currentlySettingProperty) before emptying the top of the stack (_currentlySettingPropertyStack).
Cover narrow edge case that item may be gone when dispatched ScrollIntoView() occurs.
Related Work Items: #120652
… warning as this is expected on some devices.
MatFillion
approved these changes
Jun 13, 2018
jonpryor
added a commit
that referenced
this pull request
Sep 2, 2025
`SamplesApp.Skia.netcoremobile` with Android+NativeAOT doesn't work right: some UI elements are clickable, but e.g. clicking the **▶️ Apply** button doesn't *do* anything. Update `App.xaml.cs` to enable *all* the logging categories when `NATIVE_AOT_EXTRA_LOGGING` is set, and update `SamplesApp.Skia.netcoremobile.csproj` to set `NATIVE_AOT_EXTRA_LOGGING` when `$(SkiaPublishAot)`=true. Additionally, unit test execution crashes on CI: F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** F DEBUG : Build fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:14/UE1A.230829.036.A4/12096271:user/release-keys' F DEBUG : Revision: '0' F DEBUG : ABI: 'x86_64' F DEBUG : Timestamp: 2025-08-29 13:23:01.949412779+0000 F DEBUG : Process uptime: 8s F DEBUG : Cmdline: uno.platform.samplesapp.skia F DEBUG : pid: 4914, tid: 4914, name: samplesapp.skia >>> uno.platform.samplesapp.skia <<< F DEBUG : uid: 10190 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- F DEBUG : rax 0000000000000000 rbx 00007ffe15f3bec8 rcx 000076e5eeeb2610 rdx 0000000000000006 F DEBUG : r8 000076e2dc1b564a r9 000076e2dc1b564a r10 00007ffe15f3bed0 r11 0000000000000203 F DEBUG : r12 000076a2de8e53d8 r13 000076a2d94028d8 r14 0000000000001332 r15 0000000000001332 F DEBUG : rdi 0000000000001332 rsi 0000000000001332 F DEBUG : rbp 00007ffe15f3bfa0 rsp 00007ffe15f3bec0 rip 000076e5eeeb2610 F DEBUG : 77 total frames F DEBUG : backtrace: F DEBUG : #00 pc 0000000000061610 /apex/com.android.runtime/lib64/bionic/libc.so (abort+192) (BuildId: fa337969c798946280caa45e2d71a2e7) F DEBUG : #1 pc 0000000006e3de19 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #2 pc 0000000006e2ff3e /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #3 pc 00000000000ce783 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_once+67) (BuildId: fa337969c798946280caa45e2d71a2e7) F DEBUG : #4 pc 0000000006e2ff26 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #5 pc 0000000009335ece /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_CryptoInitializer__EnsureOpenSslInitialized+46) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #6 pc 0000000009335e4c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_CryptoInitializer___cctor+12) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #7 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #8 pc 000000000911f078 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__CheckStaticClassConstructionReturnGCStaticBase+8) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #9 pc 000000000932cf9c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_Crypto___cctor+204) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #10 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #11 pc 000000000911f088 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__CheckStaticClassConstructionReturnNonGCStaticBase+8) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #12 pc 0000000009329ec0 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_Crypto__HashAlgorithmToEvp+752) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #13 pc 000000000934f930 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_System_Security_Cryptography_SHA1_Implementation___ctor+64) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #14 pc 0000000008074dad /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl___cctor+797) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #15 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #16 pc 00000000094a8cc0 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__ForceInitializeTypeConstructor+32) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #17 pc 00000000094a8cf6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__InternalGetInheritedPropertiesForType+22) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #18 pc 00000000094a8c0c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__GetInheritedPropertiesForType+76) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #19 pc 00000000094f6d65 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__PropagateInheritedProperties+69) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #20 pc 00000000094f4933 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RegisterInheritedPropertyChangedCallback+51) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #21 pc 00000000094f51d6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RegisterInheritedProperties+70) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #22 pc 00000000094f5123 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__TryRegisterInheritedProperties+243) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #23 pc 00000000094f1c3a /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__set_Parent+266) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #24 pc 00000000094dc8a8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_UIElement__AddChild+680) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #25 pc 00000000095fb855 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_Controls_ContentControl__set_ContentTemplateRoot+101) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #26 pc 00000000095fb6d6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_Controls_ContentControl__OnContentChanged+102) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #27 pc 00000000094f79b8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__InvokeCallbacks+472) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #28 pc 00000000094f77b1 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RaiseCallbacks+961) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #29 pc 00000000094f37d4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__InnerSetValue+2836) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #30 pc 00000000080742bc /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl__InitializeComponent+11948) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #31 pc 000000000806b4bc /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl___ctor+1068) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #32 pc 0000000008d16b10 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_Samples_UnitTests_UnitTestsPage__InitializeComponent+240) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #33 pc 0000000008d169f8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_Samples_UnitTests_UnitTestsPage___ctor+152) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #34 pc 000000000c515ce2 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Internal_CompilerGenerated__Module___<DynamicInvoke>None<S_P_CoreLib_System_Void>+34) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #35 pc 0000000009125e22 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Reflection_DynamicInvokeInfo__Invoke+242) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #36 pc 00000000091819c2 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_Reflection_Execution_Internal_Reflection_Execution_MethodInvokers_InstanceMethodInvoker__CreateInstance+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #37 pc 0000000009146dce /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_Internal_Reflection_Core_Execution_MethodBaseInvoker__CreateInstance+62) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #38 pc 00000000090580ce /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_ActivatorImplementation__CreateInstance+238) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #39 pc 0000000007ddc967 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent_d__273__MoveNext+615) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #40 pc 000000000c010383 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent_d__273>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #41 pc 0000000007dd6242 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #42 pc 0000000007dd9a78 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests_d__247__MoveNext+360) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #43 pc 000000000c00f0a3 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests_d__247>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #44 pc 0000000007dd52f4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests+52) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #45 pc 0000000007ddbab1 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests_d__248__MoveNext+1585) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #46 pc 000000000c00fbe3 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests_d__248>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #47 pc 0000000007dd5351 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests+65) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #48 pc 0000000008a373c4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_App__HandleRuntimeTests_d__39__MoveNext+356) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #49 pc 00000000090d2c38 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Threading_ExecutionContext__RunInternal+136) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #50 pc 000000000ae8b242 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1<Bool__SamplesApp_Skia_SamplesApp_App__HandleRuntimeTests_d__39>__MoveNext_0+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #51 pc 0000000009d43400 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Dispatching_Uno_UI_Dispatching_NativeDispatcher__RunAction+128) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #52 pc 0000000009d43328 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Dispatching_Uno_UI_Dispatching_NativeDispatcher__DispatchItems+296) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #53 pc 0000000007c45dc5 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Mono_Android_Java_Lang_IRunnableInvoker__n_Run+149) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #54 pc 000000000bbc16df /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Internal_CompilerGenerated__Module___<ReverseOpenStaticDelegateStub>Mono_Android__JniMarshal_PP_V+79) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #55 pc 0000000000391a4b /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+219) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #56 pc 000000000036faed /apex/com.android.art/lib64/libart.so (nterp_helper+3837) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #57 pc 0000000000949e94 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/oat/x86_64/base.vdex (mono.java.lang.NativeDispatcherImplementor.run+0) F DEBUG : #58 pc 00000000005c4d09 /system/framework/x86_64/boot-framework.oat (android.os.Handler.dispatchMessage+89) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #59 pc 00000000005c83ce /system/framework/x86_64/boot-framework.oat (android.os.Looper.loopOnce+1022) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #60 pc 00000000005c7f01 /system/framework/x86_64/boot-framework.oat (android.os.Looper.loop+481) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #61 pc 000000000033b44c /system/framework/x86_64/boot-framework.oat (android.app.ActivityThread.main+1628) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #62 pc 0000000000378826 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+806) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #63 pc 00000000003c538f /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+255) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #64 pc 00000000007f07f4 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1476) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #65 pc 000000000075a387 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+39) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #66 pc 00000000000a3ac0 /system/framework/x86_64/boot.oat (art_jni_trampoline+128) (BuildId: c78b6b6270062f2e659e76e5f8dac6d757f47ca6) F DEBUG : #67 pc 00000000007e66a9 /system/framework/x86_64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+137) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #68 pc 00000000007f0848 /system/framework/x86_64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2872) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #69 pc 0000000000378826 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+806) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #70 pc 00000000003c538f /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+255) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #71 pc 00000000007f129f /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, __va_list_tag*)+399) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #72 pc 00000000006a7edc /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, __va_list_tag*)+668) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #73 pc 00000000000df088 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+136) (BuildId: 58f47cb2665b829aa74415f458f1922a) F DEBUG : #74 pc 00000000000ebb30 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+896) (BuildId: 58f47cb2665b829aa74415f458f1922a) F DEBUG : #75 pc 0000000000002fa6 /system/bin/app_process64 (main+1622) (BuildId: f11cda2b6bb6bff1e502077a2f3e6cf7) F DEBUG : #76 pc 00000000000529ef /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+95) (BuildId: fa337969c798946280caa45e2d71a2e7) The crash in `System_Security_Cryptography_Interop_CryptoInitializer__EnsureOpenSslInitialized()` is possibly related to <dotnet/android#10324>.
jonpryor
added a commit
that referenced
this pull request
Sep 3, 2025
`SamplesApp.Skia.netcoremobile` with Android+NativeAOT doesn't work right: some UI elements are clickable, but e.g. clicking the **▶️ Apply** button doesn't *do* anything. Update `App.xaml.cs` to enable *all* the logging categories when `NATIVE_AOT_EXTRA_LOGGING` is set, and update `SamplesApp.Skia.netcoremobile.csproj` to set `NATIVE_AOT_EXTRA_LOGGING` when `$(SkiaPublishAot)`=true. Additionally, unit test execution crashes on CI: F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** F DEBUG : Build fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:14/UE1A.230829.036.A4/12096271:user/release-keys' F DEBUG : Revision: '0' F DEBUG : ABI: 'x86_64' F DEBUG : Timestamp: 2025-08-29 13:23:01.949412779+0000 F DEBUG : Process uptime: 8s F DEBUG : Cmdline: uno.platform.samplesapp.skia F DEBUG : pid: 4914, tid: 4914, name: samplesapp.skia >>> uno.platform.samplesapp.skia <<< F DEBUG : uid: 10190 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- F DEBUG : rax 0000000000000000 rbx 00007ffe15f3bec8 rcx 000076e5eeeb2610 rdx 0000000000000006 F DEBUG : r8 000076e2dc1b564a r9 000076e2dc1b564a r10 00007ffe15f3bed0 r11 0000000000000203 F DEBUG : r12 000076a2de8e53d8 r13 000076a2d94028d8 r14 0000000000001332 r15 0000000000001332 F DEBUG : rdi 0000000000001332 rsi 0000000000001332 F DEBUG : rbp 00007ffe15f3bfa0 rsp 00007ffe15f3bec0 rip 000076e5eeeb2610 F DEBUG : 77 total frames F DEBUG : backtrace: F DEBUG : #00 pc 0000000000061610 /apex/com.android.runtime/lib64/bionic/libc.so (abort+192) (BuildId: fa337969c798946280caa45e2d71a2e7) F DEBUG : #1 pc 0000000006e3de19 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #2 pc 0000000006e2ff3e /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #3 pc 00000000000ce783 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_once+67) (BuildId: fa337969c798946280caa45e2d71a2e7) F DEBUG : #4 pc 0000000006e2ff26 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #5 pc 0000000009335ece /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_CryptoInitializer__EnsureOpenSslInitialized+46) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #6 pc 0000000009335e4c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_CryptoInitializer___cctor+12) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #7 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #8 pc 000000000911f078 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__CheckStaticClassConstructionReturnGCStaticBase+8) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #9 pc 000000000932cf9c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_Crypto___cctor+204) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #10 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #11 pc 000000000911f088 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__CheckStaticClassConstructionReturnNonGCStaticBase+8) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #12 pc 0000000009329ec0 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_Interop_Crypto__HashAlgorithmToEvp+752) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #13 pc 000000000934f930 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (System_Security_Cryptography_System_Security_Cryptography_SHA1_Implementation___ctor+64) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #14 pc 0000000008074dad /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl___cctor+797) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #15 pc 000000000911f180 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner__EnsureClassConstructorRun+176) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #16 pc 00000000094a8cc0 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__ForceInitializeTypeConstructor+32) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #17 pc 00000000094a8cf6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__InternalGetInheritedPropertiesForType+22) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #18 pc 00000000094a8c0c /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyProperty__GetInheritedPropertiesForType+76) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #19 pc 00000000094f6d65 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__PropagateInheritedProperties+69) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #20 pc 00000000094f4933 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RegisterInheritedPropertyChangedCallback+51) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #21 pc 00000000094f51d6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RegisterInheritedProperties+70) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #22 pc 00000000094f5123 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__TryRegisterInheritedProperties+243) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #23 pc 00000000094f1c3a /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__set_Parent+266) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #24 pc 00000000094dc8a8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_UIElement__AddChild+680) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #25 pc 00000000095fb855 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_Controls_ContentControl__set_ContentTemplateRoot+101) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #26 pc 00000000095fb6d6 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_Controls_ContentControl__OnContentChanged+102) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #27 pc 00000000094f79b8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__InvokeCallbacks+472) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #28 pc 00000000094f77b1 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__RaiseCallbacks+961) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #29 pc 00000000094f37d4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Microsoft_UI_Xaml_DependencyObjectStore__InnerSetValue+2836) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #30 pc 00000000080742bc /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl__InitializeComponent+11948) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #31 pc 000000000806b4bc /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_Uno_UI_Samples_Tests_UnitTestsControl___ctor+1068) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #32 pc 0000000008d16b10 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_Samples_UnitTests_UnitTestsPage__InitializeComponent+240) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #33 pc 0000000008d169f8 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_Samples_UnitTests_UnitTestsPage___ctor+152) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #34 pc 000000000c515ce2 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Internal_CompilerGenerated__Module___<DynamicInvoke>None<S_P_CoreLib_System_Void>+34) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #35 pc 0000000009125e22 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Reflection_DynamicInvokeInfo__Invoke+242) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #36 pc 00000000091819c2 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_Reflection_Execution_Internal_Reflection_Execution_MethodInvokers_InstanceMethodInvoker__CreateInstance+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #37 pc 0000000009146dce /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_Internal_Reflection_Core_Execution_MethodBaseInvoker__CreateInstance+62) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #38 pc 00000000090580ce /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_ActivatorImplementation__CreateInstance+238) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #39 pc 0000000007ddc967 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent_d__273__MoveNext+615) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #40 pc 000000000c010383 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent_d__273>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #41 pc 0000000007dd6242 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__UpdateContent+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #42 pc 0000000007dd9a78 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests_d__247__MoveNext+360) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #43 pc 000000000c00f0a3 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests_d__247>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #44 pc 0000000007dd52f4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__OpenRuntimeTests+52) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #45 pc 0000000007ddbab1 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests_d__248__MoveNext+1585) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #46 pc 000000000c00fbe3 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncMethodBuilderCore__Start<SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests_d__248>+67) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #47 pc 0000000007dd5351 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SampleControl_Presentation_SampleChooserViewModel__RunRuntimeTests+65) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #48 pc 0000000008a373c4 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (SamplesApp_Skia_SamplesApp_App__HandleRuntimeTests_d__39__MoveNext+356) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #49 pc 00000000090d2c38 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Threading_ExecutionContext__RunInternal+136) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #50 pc 000000000ae8b242 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (S_P_CoreLib_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1<Bool__SamplesApp_Skia_SamplesApp_App__HandleRuntimeTests_d__39>__MoveNext_0+66) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #51 pc 0000000009d43400 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Dispatching_Uno_UI_Dispatching_NativeDispatcher__RunAction+128) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #52 pc 0000000009d43328 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Uno_UI_Dispatching_Uno_UI_Dispatching_NativeDispatcher__DispatchItems+296) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #53 pc 0000000007c45dc5 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Mono_Android_Java_Lang_IRunnableInvoker__n_Run+149) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #54 pc 000000000bbc16df /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/lib/x86_64/libSamplesApp.so (Internal_CompilerGenerated__Module___<ReverseOpenStaticDelegateStub>Mono_Android__JniMarshal_PP_V+79) (BuildId: 5784712b88b3c0d4b8ff75d3f68fd8c8bc45ddf1) F DEBUG : #55 pc 0000000000391a4b /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+219) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #56 pc 000000000036faed /apex/com.android.art/lib64/libart.so (nterp_helper+3837) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #57 pc 0000000000949e94 /data/app/~~XJvOBGPnJrqbD4elJ65m3w==/uno.platform.samplesapp.skia-Et8R9yZr4mvLqWfajkdxhw==/oat/x86_64/base.vdex (mono.java.lang.NativeDispatcherImplementor.run+0) F DEBUG : #58 pc 00000000005c4d09 /system/framework/x86_64/boot-framework.oat (android.os.Handler.dispatchMessage+89) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #59 pc 00000000005c83ce /system/framework/x86_64/boot-framework.oat (android.os.Looper.loopOnce+1022) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #60 pc 00000000005c7f01 /system/framework/x86_64/boot-framework.oat (android.os.Looper.loop+481) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #61 pc 000000000033b44c /system/framework/x86_64/boot-framework.oat (android.app.ActivityThread.main+1628) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #62 pc 0000000000378826 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+806) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #63 pc 00000000003c538f /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+255) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #64 pc 00000000007f07f4 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1476) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #65 pc 000000000075a387 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+39) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #66 pc 00000000000a3ac0 /system/framework/x86_64/boot.oat (art_jni_trampoline+128) (BuildId: c78b6b6270062f2e659e76e5f8dac6d757f47ca6) F DEBUG : #67 pc 00000000007e66a9 /system/framework/x86_64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+137) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #68 pc 00000000007f0848 /system/framework/x86_64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2872) (BuildId: e4c2202f7e80276bcdbfa046249d896342205aa9) F DEBUG : #69 pc 0000000000378826 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+806) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #70 pc 00000000003c538f /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+255) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #71 pc 00000000007f129f /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, __va_list_tag*)+399) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #72 pc 00000000006a7edc /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, __va_list_tag*)+668) (BuildId: b6dc79e02101ea00827a35a55ab6597a) F DEBUG : #73 pc 00000000000df088 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+136) (BuildId: 58f47cb2665b829aa74415f458f1922a) F DEBUG : #74 pc 00000000000ebb30 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+896) (BuildId: 58f47cb2665b829aa74415f458f1922a) F DEBUG : #75 pc 0000000000002fa6 /system/bin/app_process64 (main+1622) (BuildId: f11cda2b6bb6bff1e502077a2f3e6cf7) F DEBUG : #76 pc 00000000000529ef /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+95) (BuildId: fa337969c798946280caa45e2d71a2e7) The crash in `System_Security_Cryptography_Interop_CryptoInitializer__EnsureOpenSslInitialized()` is possibly related to <dotnet/android#10324>.
jonpryor
added a commit
that referenced
this pull request
Oct 22, 2026
Context: dotnet/android#13159 Context: "chore: Preserve types required by Android" Context: #25492 (comment) Similar to "chore: Preserve types required by Android", the **Tests - Android > Skia Runtime Tests 0 > Run Android Skia accessibility UIAutomator tests** stage is failing: failed When_CheckBox_IsTapped_Then_State_Changes (37s 487ms) from /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/bin/Release/net10.0/SamplesApp.UITests.dll (net11.0|x64) UIAutomator did not expose 'MobileAutomationToggle' with the expected state. at SamplesApp.UITests.Windows_UI_Xaml_Automation.AndroidUiAutomator.WaitForNode(String automationId, Func`2 predicate, Boolean scrollFixture) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:275 at SamplesApp.UITests.Windows_UI_Xaml_Automation.MobileAccessibility_Android_UiAutomator_Tests.When_CheckBox_IsTapped_Then_State_Changes() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:73 and similar to "chore: Preserve types required by Android", the cause is that `UnoExploreByTouchHelper.cs` uses `AccessibilityNodeInfoCompat.setChecked()`, which was *trimmed away*! % unzip src/SamplesApp/SamplesApp/bin/Release/net11.0-android/publish/uno.platform.samplesapp.skia-Signed.apk classes.dex % dexdump classes.dex | grep -1 'setChecked' | grep AccessibilityNodeInfoCompat # no matches Aside: the `grep -1` is so we can see the type that the member is declared on, e.g. % dexdump classes.dex | grep -1 'setChecked' #37 : (in Landroidx/appcompat/view/menu/ActionMenuItem;) name : 'setChecked' type : '(Z)Landroid/view/MenuItem;' The fix is similar to that done in "chore: Preserve types required by Android": preserve MOAR! Specifically, prserve `AccessibilityNodeInfoCompat.setChecked()` method overloads. Which brings us to another side: why is this happening? This is happening because `SamplesApp.csproj` sets `$(AndroidLinkTool)`=r8, which causes lots more Java code to be trimmed away. I'm not sure why only *now* this is "biting" us in this manner, but it also reproduces outside of Uno: reference `AccessibilityNodeInfoCompat.AccessibilityActionCompat.ActionCollapse` without setting `$(AndroidLinkTool)`, and it works; set `$(AndroidLinkTool)`=r8, and `ACTION_COLLAPSE` is missing. Question to ponder: are these "one-off fixes" to `uno-proguard.cfg` appropriate, or should we stop setting `$(AndroidLinkTool)` entirely? Though we're using r8 in order to avoid a *different* issue (which may or may not be resolved), so…
jonpryor
added a commit
that referenced
this pull request
Oct 23, 2026
Context: dotnet/android#13159 Context: "chore: Preserve types required by Android" Context: #25492 (comment) Similar to "chore: Preserve types required by Android", the **Tests - Android > Skia Runtime Tests 0 > Run Android Skia accessibility UIAutomator tests** stage is failing: failed When_CheckBox_IsTapped_Then_State_Changes (37s 487ms) from /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/bin/Release/net10.0/SamplesApp.UITests.dll (net11.0|x64) UIAutomator did not expose 'MobileAutomationToggle' with the expected state. at SamplesApp.UITests.Windows_UI_Xaml_Automation.AndroidUiAutomator.WaitForNode(String automationId, Func`2 predicate, Boolean scrollFixture) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:275 at SamplesApp.UITests.Windows_UI_Xaml_Automation.MobileAccessibility_Android_UiAutomator_Tests.When_CheckBox_IsTapped_Then_State_Changes() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:73 and similar to "chore: Preserve types required by Android", the cause is that `UnoExploreByTouchHelper.cs` uses `AccessibilityNodeInfoCompat.setChecked()`, which was *trimmed away*! % unzip src/SamplesApp/SamplesApp/bin/Release/net11.0-android/publish/uno.platform.samplesapp.skia-Signed.apk classes.dex % dexdump classes.dex | grep -1 'setChecked' | grep AccessibilityNodeInfoCompat # no matches Aside: the `grep -1` is so we can see the type that the member is declared on, e.g. % dexdump classes.dex | grep -1 'setChecked' #37 : (in Landroidx/appcompat/view/menu/ActionMenuItem;) name : 'setChecked' type : '(Z)Landroid/view/MenuItem;' The fix is similar to that done in "chore: Preserve types required by Android": preserve MOAR! Specifically, prserve `AccessibilityNodeInfoCompat.setChecked()` method overloads. Which brings us to another side: why is this happening? This is happening because `SamplesApp.csproj` sets `$(AndroidLinkTool)`=r8, which causes lots more Java code to be trimmed away. I'm not sure why only *now* this is "biting" us in this manner, but it also reproduces outside of Uno: reference `AccessibilityNodeInfoCompat.AccessibilityActionCompat.ActionCollapse` without setting `$(AndroidLinkTool)`, and it works; set `$(AndroidLinkTool)`=r8, and `ACTION_COLLAPSE` is missing. Question to ponder: are these "one-off fixes" to `uno-proguard.cfg` appropriate, or should we stop setting `$(AndroidLinkTool)` entirely? Though we're using r8 in order to avoid a *different* issue (which may or may not be resolved), so…
jonpryor
added a commit
that referenced
this pull request
Oct 26, 2026
Context: dotnet/android#13159 Context: "chore: Preserve types required by Android" Context: #25492 (comment) Similar to "chore: Preserve types required by Android", the **Tests - Android > Skia Runtime Tests 0 > Run Android Skia accessibility UIAutomator tests** stage is failing: failed When_CheckBox_IsTapped_Then_State_Changes (37s 487ms) from /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/bin/Release/net10.0/SamplesApp.UITests.dll (net11.0|x64) UIAutomator did not expose 'MobileAutomationToggle' with the expected state. at SamplesApp.UITests.Windows_UI_Xaml_Automation.AndroidUiAutomator.WaitForNode(String automationId, Func`2 predicate, Boolean scrollFixture) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:275 at SamplesApp.UITests.Windows_UI_Xaml_Automation.MobileAccessibility_Android_UiAutomator_Tests.When_CheckBox_IsTapped_Then_State_Changes() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:73 and similar to "chore: Preserve types required by Android", the cause is that `UnoExploreByTouchHelper.cs` uses `AccessibilityNodeInfoCompat.setChecked()`, which was *trimmed away*! % unzip src/SamplesApp/SamplesApp/bin/Release/net11.0-android/publish/uno.platform.samplesapp.skia-Signed.apk classes.dex % dexdump classes.dex | grep -1 'setChecked' | grep AccessibilityNodeInfoCompat # no matches Aside: the `grep -1` is so we can see the type that the member is declared on, e.g. % dexdump classes.dex | grep -1 'setChecked' #37 : (in Landroidx/appcompat/view/menu/ActionMenuItem;) name : 'setChecked' type : '(Z)Landroid/view/MenuItem;' The fix is similar to that done in "chore: Preserve types required by Android": preserve MOAR! Specifically, prserve `AccessibilityNodeInfoCompat.setChecked()` method overloads. Which brings us to another side: why is this happening? This is happening because `SamplesApp.csproj` sets `$(AndroidLinkTool)`=r8, which causes lots more Java code to be trimmed away. I'm not sure why only *now* this is "biting" us in this manner, but it also reproduces outside of Uno: reference `AccessibilityNodeInfoCompat.AccessibilityActionCompat.ActionCollapse` without setting `$(AndroidLinkTool)`, and it works; set `$(AndroidLinkTool)`=r8, and `ACTION_COLLAPSE` is missing. Question to ponder: are these "one-off fixes" to `uno-proguard.cfg` appropriate, or should we stop setting `$(AndroidLinkTool)` entirely? Though we're using r8 in order to avoid a *different* issue (which may or may not be resolved), so…
jonpryor
added a commit
that referenced
this pull request
Oct 27, 2026
Context: dotnet/android#13159 Context: "chore: Preserve types required by Android" Context: #25492 (comment) Similar to "chore: Preserve types required by Android", the **Tests - Android > Skia Runtime Tests 0 > Run Android Skia accessibility UIAutomator tests** stage is failing: failed When_CheckBox_IsTapped_Then_State_Changes (37s 487ms) from /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/bin/Release/net10.0/SamplesApp.UITests.dll (net11.0|x64) UIAutomator did not expose 'MobileAutomationToggle' with the expected state. at SamplesApp.UITests.Windows_UI_Xaml_Automation.AndroidUiAutomator.WaitForNode(String automationId, Func`2 predicate, Boolean scrollFixture) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:275 at SamplesApp.UITests.Windows_UI_Xaml_Automation.MobileAccessibility_Android_UiAutomator_Tests.When_CheckBox_IsTapped_Then_State_Changes() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/MobileAccessibility_Tests.cs:73 and similar to "chore: Preserve types required by Android", the cause is that `UnoExploreByTouchHelper.cs` uses `AccessibilityNodeInfoCompat.setChecked()`, which was *trimmed away*! % unzip src/SamplesApp/SamplesApp/bin/Release/net11.0-android/publish/uno.platform.samplesapp.skia-Signed.apk classes.dex % dexdump classes.dex | grep -1 'setChecked' | grep AccessibilityNodeInfoCompat # no matches Aside: the `grep -1` is so we can see the type that the member is declared on, e.g. % dexdump classes.dex | grep -1 'setChecked' #37 : (in Landroidx/appcompat/view/menu/ActionMenuItem;) name : 'setChecked' type : '(Z)Landroid/view/MenuItem;' The fix is similar to that done in "chore: Preserve types required by Android": preserve MOAR! Specifically, prserve `AccessibilityNodeInfoCompat.setChecked()` method overloads. Which brings us to another side: why is this happening? This is happening because `SamplesApp.csproj` sets `$(AndroidLinkTool)`=r8, which causes lots more Java code to be trimmed away. I'm not sure why only *now* this is "biting" us in this manner, but it also reproduces outside of Uno: reference `AccessibilityNodeInfoCompat.AccessibilityActionCompat.ActionCollapse` without setting `$(AndroidLinkTool)`, and it works; set `$(AndroidLinkTool)`=r8, and `ACTION_COLLAPSE` is missing. Question to ponder: are these "one-off fixes" to `uno-proguard.cfg` appropriate, or should we stop setting `$(AndroidLinkTool)` entirely? Though we're using r8 in order to avoid a *different* issue (which may or may not be resolved), so…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.