Repository navigation
Description
.NET MAUI 10.0.70 calls AccessibilityNodeInfoCompat.set_Checked(bool) from
Microsoft.Maui.Platform.MauiAccessibilityDelegateCompat.OnInitializeAccessibilityNodeInfo,
but the package's own transitive dependencies (via Maui.Essentials → AndroidX.Activity 1.12.4.1
→ AndroidX.Core.Core.Ktx 1.17.0.2) bring in Xamarin.AndroidX.Core 1.17.0.2, where
the setter signature has changed from set_Checked(bool) to set_Checked(int)
(to support tri-state Checked / PartiallyChecked).
Result: System.MissingMethodException thrown on the first accessibility node
query, crashing the app on devices/emulators with accessibility services
prefetching (e.g. TalkBack, default a11y prefetcher on Samsung One UI).
Rolling back to Microsoft.Maui.Controls/Essentials 10.0.60 fixes it (same call
site is present but compiled against older binding).
Steps to reproduce
- Create a new MAUI project targeting net10.0-android36.0.
- Reference Microsoft.Maui.Controls 10.0.70 and Microsoft.Maui.Essentials 10.0.70.
- Add any package pulling AndroidX.Core ≥ 1.17 (e.g. Sentry.Maui 6.5.0, or
Xamarin.Google.Android.Play.App.Update 2.1.0.18 which transitively brings
Xamarin.GooglePlayServices.Basement 118.10.0.1). - Run on a physical device with accessibility prefetching active (Samsung S24,
One UI 6.1, Android 14). - App crashes on first frame after splash.
Stack trace
java.lang.RuntimeException
Caused by: android.runtime.JavaProxyThrowable: [System.MissingMethodException]:
Method not found: void AndroidX.Core.View.Accessibility.AccessibilityNodeInfoCompat.set_Checked(bool)
at Microsoft.Maui.Platform.MauiAccessibilityDelegateCompat.OnInitializeAccessibilityNodeInfo
at AndroidX.Core.View.AccessibilityDelegateCompat.n_OnInitializeAccessibilityNodeInfo_…
at crc6452ffdc5b34af3a0f.MauiAccessibilityDelegateCompat.n_onInitializeAccessibilityNodeInfo
…
Versions
- .NET SDK: <output di
dotnet --version> - Microsoft.Maui.Controls: 10.0.70
- Microsoft.Maui.Essentials: 10.0.70
- Xamarin.AndroidX.Core (resolved): 1.17.0.2
- Device: Samsung Galaxy S24, Android 14, One UI 6.1
- Target framework: net10.0-android36.0
Workaround
Pin Microsoft.Maui.Controls/Essentials to 10.0.60.
Activity
bcaceiro commentedon May 22, 2026
Facing exactly the same issue ...
rmayrink commentedon May 22, 2026
Same issue...
plequere-ms commentedon May 22, 2026
Facing the same issue. Unsure how this passed testing.
It appears that MAUI 10.0.70 was compiled against AndroidX.Core 1.16.x where
AccessibilityNodeInfoCompat.Checkedis a bool property. AndroidX.Core 1.17+ changed it to an int property. The IL inSemanticExtensions.UpdateSemanticNodeInfostill references the (now-missing)set_Checked(bool)method token. As soon as Mono's JIT tries to compileUpdateSemanticNodeInfo, which happens insideMauiAccessibilityDelegateCompat.OnInitializeAccessibilityNodeInfo, it fails with MissingMethodException.Here's the workaround I came up with: replace
ViewHandler.ViewMapper's Semantics entry with a no-op soMauiAccessibilityDelegateCompatis never installed on any view. THIS BREAKS ACCESSIBILITY SERVICES. But it's better than a crash.In MauiProgram.cs, add:
Then add the following implementation:
bcaceiro commentedon May 22, 2026
dartasen commentedon May 23, 2026
HarishKumarSF4517 commentedon May 26, 2026
This issue has been validated in Visual Studio Code 1.120.0 with .NET MAUI versions 10.0.60 and 10.0.70. It can be reproducible on Android platform from 10.0.70. I have attached the sample(MissingMethodExceptionIssue.zip) and output for reference:
Note: In Emulator issue reproduces when the talkback enabled.
sheiksyedm commentedon May 26, 2026
The regression was introduced by PR #34521 (accessibility improvements for RadioButton). That PR added info.Checked = radioButton.IsChecked in SemanticExtensions.UpdateSemanticNodeInfo, which compiles against the bool-typed AccessibilityNodeInfoCompat.Checked property from Xamarin.AndroidX.Core 1.16.0.3.
However, in version 1.17.x of the binding, the underlying AndroidX API changed setChecked(boolean) to setChecked(int), which changes the property type from bool to int. Since many packages such as AppCompat, Fragment, Activity, and Play Services may use the newer version on the app side and its depend on Core 1.17.x, applications resolve to the newer version at runtime. As a result, the set_Checked(bool) member no longer exists, causing a MissingMethodException whenever accessibility services traverse the view tree.
https://developer.android.com/reference/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(boolean)
.NET 11 previews use the latest Xamarin.AndroidX.Core 1.17.x version, so this issue does not occur there. However, .NET 10 NuGet packages depend on Xamarin.AndroidX.Core 1.16.0.3.
I hope info.Checked change introduced in PR #34521 will be reverted in the next release. Until a next MAUI release is available, downgrading Xamarin.AndroidX.Core remains the only viable workaround.
11 remaining items
Enforce 'SR branches always cut from main' rule + add Candidate mode
Model SR cut-then-merge workflow + lock agent to report-only
dmm-l-mediehus commentedon Jun 16, 2026
My colleague got the crash but not my personal or work phone.
Claude Opus 4.8 suggested it crashes when "accessibility service" is enabled on the phone.
Resolve SR sub-patch milestones from the earliest containing tag (#35972
Fix release-readiness tracker warnings: filter cross-repo PR cross-re…
Revert - Fix TalkBack not correctly narrating RadioButtons with Conte…
Revert - Fix TalkBack not correctly narrating RadioButtons with Conte…
Revert - Fix TalkBack not correctly narrating RadioButtons with Conte…
June 8th, Candidate (#35716)