Did you call the code in the MainActivity like the official document do? And did you do the steps in the official document before the step Initialize .NET MAUI?
↧