CommunityToolkit / CommunityToolkit/Maui

[Bug] CommunityToolkit samples app is broken on Android

Open
#2,487 4 comments 0 reactions 0 assignees View on GitHub
bug unverified
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Did you read the "Reporting a bug" section on Contributing file?

- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

### Current Behavior

Exception trying to navigate to any page in the sample app.
System.NotSupportedException
Message=Unable to activate instance of type Microsoft.Maui.Controls.Platform.Compatibility.ShellItemRenderer from native handle 0x7fda730da0 (key_handle 0x41e2660).

### Expected Behavior

No exceptions

### Steps To Reproduce

Build the sample app. Debug and try to navigate to any of the pages.

### Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

### Environment

```markdown
- .NET MAUI CommunityToolkit: main branch
- OS: Windows 11
- .NET MAUI: 9.0.102
- Visual Studio 17.12.4
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the CommunityToolkit/Maui sample app, build it on Android, and debug navigation to any sample page to reproduce the ShellItemRenderer exception. Trace the failing navigation path and confirm the app can navigate to its pages without exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.