.NET MAUI Android - System.PlatformNotSupportedException

Yusuf-3141 50 Reputation points
2025-02-19T18:47:54.31+00:00

Hi,
I'am trying to run my .NET MAUI project on Android, but I'm getting the following error:

System.PlatformNotSupportedException Message=Operation is not supported on this platform.

Here is the project link:
https://github.com/devenv2/SmartChat/blob/master/SmartChat/MainPage.xaml.cs

Has anyone encountered this issue before? Any ideas on how to fix it?

Thanks in advance

Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.