Skip to content

[Android] MissingMethodException AccessibilityNodeInfoCompat.set_Checked(bool) on 10.0.70 due to AndroidX.Core 1.17 breaking change #35584

Description

@BlkHd

.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

  1. Create a new MAUI project targeting net10.0-android36.0.
  2. Reference Microsoft.Maui.Controls 10.0.70 and Microsoft.Maui.Essentials 10.0.70.
  3. 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).
  4. Run on a physical device with accessibility prefetching active (Samsung S24,
    One UI 6.1, Android 14).
  5. 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

  1. bcaceiro commented on May 22, 2026

    @bcaceiro

    Facing exactly the same issue ...

  2. rmayrink commented on May 22, 2026

    @rmayrink

    Same issue...

  3. plequere-ms commented on May 22, 2026

    @plequere-ms

    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.Checked is a bool property. AndroidX.Core 1.17+ changed it to an int property. The IL in SemanticExtensions.UpdateSemanticNodeInfo still references the (now-missing) set_Checked(bool) method token. As soon as Mono's JIT tries to compile UpdateSemanticNodeInfo, which happens inside MauiAccessibilityDelegateCompat.OnInitializeAccessibilityNodeInfo, it fails with MissingMethodException.

    Here's the workaround I came up with: replace ViewHandler.ViewMapper's Semantics entry with a no-op so MauiAccessibilityDelegateCompat is never installed on any view. THIS BREAKS ACCESSIBILITY SERVICES. But it's better than a crash.

    In MauiProgram.cs, add:

    #if ANDROID
            RadioButtonSemanticsPatch.Apply();
    #endif
    

    Then add the following implementation:

    internal static class RadioButtonSemanticsPatch
    {
        internal static void Apply()
        {
            // Replace MAUI's MapSemantics with a no-op so MauiAccessibilityDelegateCompat is never installed and SemanticExtensions.UpdateSemanticNodeInfo is never JIT'd.
            ViewHandler.ViewMapper.Add(nameof(IView.Semantics), static (_, _) => { });
        }
    }
    
  4. bcaceiro commented on May 22, 2026

    @bcaceiro
  5. added
    potential-regression
    i/regression
    on May 23, 2026
  6. dartasen commented on May 23, 2026

    @dartasen
  7. HarishKumarSF4517 commented on May 26, 2026

    @HarishKumarSF4517
    Contributor

    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.

    Image
  8. added
    s/verified
    s/triaged
    on May 26, 2026
  9. sheiksyedm commented on May 26, 2026

    @sheiksyedm
    Contributor

    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.

  10. 11 remaining items

  11. dmm-l-mediehus commented on Jun 16, 2026

    @dmm-l-mediehus

    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.

    Image
  12. added 3 commits that reference this issue on Jun 17, 2026
    1f16151
    4567a05
    6525b64
  13. added a commit that references this issue on Jun 25, 2026
    cf8488f
  14. added a commit that references this issue on Jul 3, 2026
    36bebc8
  15. added a commit that references this issue on Jul 6, 2026
  16. locked and limited conversation to collaborators on Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-corei/regressionpartner/syncfusionplatform/androidpotential-regressionregressed-in-10.0.70s/triageds/verified

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions