Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] Android.Views.InflateException

Open vovanb opened this issue 5 months ago • 3 comments

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

- .NET MAUI CommunityToolkit:
- OS:
- .NET MAUI:

Anything else?

No response

vovanb avatar Aug 04 '25 16:08 vovanb

I wrote that I used your sample latest source and when I start CommunityToolkit.Maui.Sample on physical Android device - I receive exception. no need for sample - latest code from the your repository

vovanb avatar Aug 05 '25 11:08 vovanb

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@vovanb can you double check if your VS and workloads are updated to the latest?

pictos avatar Aug 11 '25 02:08 pictos