Maui app issue
Hi,
How to verify .Net Maui App is fine to work within Android? Any example?
The build version is MauiXaml
.NET MAUI
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-10T05:38:22.6666667+00:00 Can you share more information about verifying .Net Maui App is fine to work within Android?
Do you want to test your MAUI application like UITest or uni? Here is a Code Sample about .NET MAUI - UI testing with Appium and NUnit and a wiki about UITests .
Here is a document about Unit testing.
-
Peter_1985 2,686 Reputation points
2024-09-10T06:22:19.8266667+00:00 Many thanks. Is "Android device manager" giving exactly the same Android OS for the app?
-
Peter_1985 2,686 Reputation points
2024-09-13T02:00:04.07+00:00 To Maui app, must the development OS be with .Net 8.0 right? How to ensure that?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-13T06:12:33.1+00:00 Please check the MAUI support policy .NET MAUI 6 and .NET MAUI 7 is not supported.
You can open your csproj file, you will find the <Target-Framework> tag, the value will be .NET 8.0-android or others.
-
Peter_1985 2,686 Reputation points
2024-09-13T08:47:57.6966667+00:00 How to resolve it below?
The type 'FlyoutPage' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
-
Peter_1985 2,686 Reputation points
2024-09-16T04:06:23.0033333+00:00 Can you please help?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-16T06:21:40.17+00:00 Did you create a FlyoutPage in the .xaml layout? Please check the build action is MauiXaml
-
Peter_1985 2,686 Reputation points
2024-09-16T08:04:50.4033333+00:00 How to add that below?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-16T08:09:58.6433333+00:00 Click the flyout page, check the build action , if the value is MauiXaml?
-
Peter_1985 2,686 Reputation points
2024-09-16T08:23:38.3133333+00:00 What to do further below?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-16T08:39:20.16+00:00 Please open your project folder(close VS), delete the bin and obj folder, then rebuild your project in VS.
-
Peter_1985 2,686 Reputation points
2024-09-16T09:09:49.84+00:00 Thanks.
-
Peter_1985 2,686 Reputation points
2024-09-16T10:17:56.1333333+00:00 I've removed both obj and bin folders and can re-build the whole project.
What can be built well to .xaml page of it?
An example to embed the event to know the position change within the app?
-
Peter_1985 2,686 Reputation points
2024-09-17T03:53:54.4066667+00:00 Can you help?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-18T08:58:49.6366667+00:00 I've removed both obj and bin folders and can re-build the whole project.
Is this error disappear or not? If not, please create a new project to create a flyoutpage, will you get the same error?
-
Peter_1985 2,686 Reputation points
2024-09-19T10:18:39.81+00:00 I see that no other details were built by pressing "Build action" below. Can you help?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-20T07:04:56.43+00:00 Can you share this mini demo with us? That I can reproduce this issue.
-
Peter_1985 2,686 Reputation points
2024-09-20T07:58:49.6233333+00:00 I will
-
Peter_1985 2,686 Reputation points
2024-09-20T08:46:55.19+00:00 I will.
-
Peter_1985 2,686 Reputation points
2024-09-20T10:10:25.73+00:00 Thanks.
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-23T01:13:44.98+00:00 Did you solve this issue? Can you share this answer? It will help others who have similar issue.
-
Peter_1985 2,686 Reputation points
2024-09-23T13:01:03.7+00:00 Can you check the previous mails?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-24T01:11:17.2433333+00:00 Can you check the previous mails?
Yes, but I cannot access the demo.
-
Peter_1985 2,686 Reputation points
2024-09-24T02:46:00.1066667+00:00 Can you re-check it?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-24T07:06:02.7233333+00:00 I use in Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.11.0 and update Microsoft.Maui.Controls to 8.0.90 and Microsoft.Maui.Controls.Compatibility to 8.0.90.
Then I remove the space in the namespace and solution, it builds normally and runs without any errors.
-
Peter_1985 2,686 Reputation points
2024-09-24T08:54:58.0766667+00:00 Can you check the mail I delivered today?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-24T09:18:31.4866667+00:00 I check it, above comment is my tested result, can you see it?
-
Peter_1985 2,686 Reputation points
2024-09-24T09:34:17.28+00:00 I am using the same VS version as well.
Did you refer to the mails (of this) and did you see my shared files or not?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-27T07:19:27.3033333+00:00 Could you debug your application when you have this issue?
After closing VS 2022 and reopened it, will you have this issue?
You can try to use VS 2022 preview version to make a test.
-
Peter_1985 2,686 Reputation points
2024-09-27T07:56:22.1766667+00:00 Can you check the last 1 or 2 mails (of this) and help?
-
Peter_1985 2,686 Reputation points
2024-09-27T07:57:32.8333333+00:00 Can you check the last 1 or 2 mails (of this) and help?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-27T08:00:17.3033333+00:00 I cannot access the above link; can you share the mini demo with GitHub repo?
-
Peter_1985 2,686 Reputation points
2024-09-27T08:13:33.6733333+00:00 Let me re-check it
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-09-27T08:32:48.7733333+00:00 Please do not provide email address in Q&A forum. For keep your personal information, your mail address was removed.
If you want to have an email support, please open a support ticket for this issue. Please contact our paid phone support at MS Support. You will get 1:1 support on that.
-
Peter_1985 2,686 Reputation points
2024-09-27T08:47:47.19+00:00 I have the account in Github.
How to share the project via Github?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-10-03T01:25:22.0066667+00:00 You can add your GitHub account to VS, then Create and push new repos in VS.
-
Peter_1985 2,686 Reputation points
2024-10-03T01:46:36.5266667+00:00 What is the details/step to add the account to VS?
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points • Microsoft Vendor
2024-10-04T05:14:17.0866667+00:00 Here is a Tutorial that showing how you can connect Visual Studio to GitHub and create a simple git workflow.
-
Peter_1985 2,686 Reputation points
2024-10-04T08:58:07.9766667+00:00 It is not convenient by the way using Github. Can you check why you cannot reach my shared file?
-
Peter_1985 2,686 Reputation points
2024-10-04T09:02:30.5233333+00:00 Was the project/app moved/re-deployed into Github? What should we select within VS?
Sign in to comment
2 answers
Sort by: Most helpful
-
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
-
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.
4 deleted comments
Comments have been turned off. Learn more