CommunityToolkit / CommunityToolkit/Maui
[BUG] Android.Views.InflateException
- 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
get latest source and when start CommunityToolkit.Maui.Sample. on Android receive
`**Android.Views.InflateException:** 'Binary XML file line #1 in com.microsoft.CommunityToolkit.Maui.Sample:layout/flyoutcontent: Binary XML file line #1 in com.microsoft.CommunityToolkit.Maui.Sample:layout/flyoutcontent: Error inflating class microsoft.maui.controls.platform.compatibility.ShellFlyoutLayout'
`
### Expected Behavior
project should be started
### Steps To Reproduce
1. Open and run solution on Android physical device 14 API 34
2. Project starting and received exception in VS
### Link to public reproduction project repository
you latest solution
### Environment
```markdown
- .NET MAUI CommunityToolkit:
- OS:
- .NET MAUI:
```
### Anything else?
_No response_
Contributor guide
Research direction
Open the latest CommunityToolkit.Maui solution and run CommunityToolkit.Maui.Sample on an Android 14 (API 34) physical device. Start with the `flyoutcontent` InflateException for `ShellFlyoutLayout`, then identify the failure source and add a reproducible fix. Done means the sample project starts successfully on Android without the exception.
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
- 25/100