9,195 questions
0
votes
2
answers
2k
views
Visual Studio Failing to Create New Android Device
I'm new to mobile development and I wanted to have a go with MAUI to start learning a bit. I followed all the instructions and I ran maui-check which says everything's fine, apart not finding any ...
1
vote
1
answer
946
views
ADM Device could not be created because of "incompatible JDK"
Android Device Manager prevents me from creating an Android Device because of an incompatible JDK. However, maui-check shows me that i've got OpenJDK 11.0 installed.
Image of error message and maui-...
2
votes
4
answers
2k
views
How to integrate Google Admob into .NET 6 android app?
Now with .NET 6, we can create native android apps without Xamarin. I would like to know if there's a way to monetize these MAUI apps with Google Admob.
19
votes
1
answer
13k
views
Can you develop a webpage using .NET MAUI and blazor and target the web, ios, android and windows?
I have recently read up on .NET MAUI but I am confused about its purpose with Blazor.
Can you develop a webpage using .NET MAUI and blazor and target the web, ios, android and windows?
For example ...
3
votes
2
answers
4k
views
ObservableCollections not working yet in MAUI?
I tried MAUI and MVVM with an ObservableCollection.
Created new MAUI project
Added ViewModel with BindingContext
Bound StackLayout to an ObservableCollection
Added Item to the Collection on Button ...
0
votes
1
answer
518
views
.Net Maui cant compile a fresh macos project
I wanted to play a little with .Net Maui. So, I just used the maui-check tool to install the latest version of .Net Maui on my Mac (OSX 11.4). Then I created a blank macos project using the dotnet ...
11
votes
3
answers
6k
views
Error ADB0020: Mono.AndroidTools.IncompatibleCpuAbiExceptiopn: The package does not support the CPU architecture of this device
I have installed Windows 10 20H2 version in my system. And Visual Studio Professional 2019 preview. I followed this link for MAUI setup.
I have installed .Net MAUI preview 5. And ensured maui-check. ...
1
vote
1
answer
645
views
.NET MAUI Preview 5 WinUI - nothing is displayed, blank (indigo) screen
Running the sample app or a new app from the template renders only a blank indigo screen. App loads and runs, yet none of the web content renders and no error is given.
6
votes
1
answer
3k
views
“The project doesn't know how to run the profile sample.WinUI”
When I try to build a MUAI project, it gives the error “The project doesn't know how to run the profile sample.WinUI". The project gets built but it doesn't run. I am using Visual Studio 2022 ...
65
votes
28
answers
51k
views
New .Net MAUI App project throws 'The name 'InitializeComponent' does not exist in the current context' build errors
I've attempted to play with .Net MAUI and I've setup my development environment following the steps as described in:
https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=windows
...
2
votes
1
answer
2k
views
Xamarin.Android.Common.Debugging.targets(604,5): error XA0010: No available device
Whenever I try to start the HelloMaui project from VS Code using NET 6.0.100 Preview4 with mono debug extension installed and run it it throws an error Xamarin.Android.Common.Debugging.targets(604,5): ...
0
votes
2
answers
3k
views
How do I resolve maui-check can not be found on mac m1?
I've been using redth's maui-check tool. It works great on windows. It runs fine on my intel mac. On my m1 mac mini, it installs. However, it does not run. zsh reports that the command is not ...
3
votes
3
answers
3k
views
Dotnet Maui while install application on device
ADB0020: Mono.AndroidTools.IncompatibleCpuAbiExceptiopn: The package does not support the CPU architecture of this device.
My device detail
Device : Lg Q6
Api : - 27
Kernel Version : 3.18.71
-1
votes
1
answer
333
views
Possibility to create a multiplatform desktop application on Visual Studio for Mac in C#, but build it on windows
as the title already mention my question is about the following:
I 'm looking for a possibility to create a multiplatform desktop project on Visual Studio for Mac. After creating that, I'd like to ...
1
vote
1
answer
558
views
How do I install the blazorhybrid project template?
I'm trying to test the new dotnet 6 feature with hosting blazor in desktop applications, according to this article.
So im trying to use the command
dotnet new blazorhybrid -o BlazorHybrid
which does ...
7
votes
5
answers
7k
views
Creating first .Net MAUI project
I tried to create Maui project in windows using visual studio developer command prompt using
Command :
dotnet new maui
But Its not creating Maui project,Getting Error message No templates found ...
1
vote
1
answer
577
views
ContentView as Resource Dictionary
Reusable layout can be have in a ContentView in a seperate file and use like this:
<StackLayout>
<local:MyContentView/>
</StackLayout>
However, is it possible if I want to ...
2
votes
3
answers
5k
views
Elm Architecture (MVU) in C# and Deep Copy
I'm looking into the possibility of implementing an MVU pattern in a Xamarin app using C#. This mostly seems to hinge on the immutability of the model being provided to the view and the Update ...
9
votes
1
answer
2k
views
Hosting Asp .Net Core API on Android
My API doesn't use any database or any authentication. API supports just basic functions.
Is there any way to host a .Net Core API on Android?
-1
votes
2
answers
787
views
Why my XAML file and cs file are separated?
In my shared project my .cs file is no longer dependent on my .Xaml file. In Solution Explorer they appear next to each other instead of file.cs appearing only when I click the parent file .Xaml.
I ...
17
votes
4
answers
21k
views
Adding key values for items in picker
I am using a XAMARIN picker to select a country. The countries are hard coded in the picker. Is there a way I could identify each country name through a key value. I have done this in a similar way ...