CommunityToolkit / CommunityToolkit/Maui
[Bug] CommunityToolkit samples app is broken on Android
- 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
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