All Questions
Tagged with visual-studio-2022 android
81 questions
0
votes
2
answers
64
views
Visual Studio 2022 maui won't sign app for Android
I'm trying to build a MAUI app for Android, to be debugged on a locally attached tablet. I'm trying to store the location of the keystore in the textbox of the project, but VS2022 refuses to accept ...
0
votes
1
answer
44
views
maui: The project doesn't know how to run the profile with name 'DEVICE NAME' and command 'Mobile'
Deploying to Android using VS2022 / Maui, and getting message box saying:
"The project doesn't know how to run the profile with name 'Motorola moto g stylus 5G - 2023 (Android 14.0 - API 34)' and ...
0
votes
1
answer
85
views
Compile MAUI .NET 9 project with external DLL
I have a .NET 9 MAUI project, targeting Android devices only, built with Visual Studio 2022 17.13.5.
After adding a reference to a third-party DLL, I cannot compile in Debug configuration because of ...
0
votes
1
answer
38
views
Loosing XML cryptographic tooling in android release mode of a MAUI hybrid app
I have a Blazor MAUI Hybrid app in .NET 9. I also have a library in that solution doing some XML signature verification. I have a null exception, but only in release mode on android.
The code is as ...
1
vote
2
answers
209
views
Connection Fail when attempting to access Localhost from Maui App
Gotta say, this has me stumped. When calling a web service (ASP.NET) from its production URL (https://myhost.com/appname/myurl?param1=x¶m2=y), everything works fine.
When attempting to access ...
1
vote
1
answer
37
views
What Is "Loaded by runtime" in the Visual Studio Modules Window, and How Does One Access This?
I am building my first Android application with Uno and am attempting to debug a component within Uno's authentication assembly. Unfortunately I am having trouble accessing its symbol file and ...
0
votes
1
answer
206
views
Xamarin Forms app freezes on Splashscreen during debugging
I'm trying to debug a Xamarin Forms App on a Android Emulator but it always freezes on the Splash-Screen. Does somebody know why this happens?
This is the last version we deploy with Xamarin Forms ...
1
vote
1
answer
578
views
I can't get the SHA-1 footprint of my .NET MAUI Application
I want to publish my .NET MAUI application on the Play Store. To do this, I need to obtain the SHA-1 certificate fingerprint in order to create the OAuth client ID.
I am using Visual Studio 2022.
When ...
2
votes
0
answers
129
views
VS 2022 Cannot running emulator for API 34 / 35
My VS 2022 cannot start any emulator above API 33 (such as 34, 35). Anything below API 34 working fine.
API 34 Emulator show only blank screen as below
And API 35 indicate error button on the ...
0
votes
1
answer
932
views
.NET MAUI VS 2022 How to specify Android Target Version?
With MAUI/VS 2022, how does one specify an Android target version other than 34? The dropdown in Visual Studio only presents 34. If I manually edit the manifest, and turn off the option to "...
0
votes
1
answer
571
views
How to choose target architecture when using CMakePresets.json to cross-compile for Android in Visual Studio
I am writing a shared library in C++ as a CMake project in Visual Studio 2022. I am able to compile the library as *.dll for Windows, and also an *.so using WSL. I am attempting to compile for Android,...
0
votes
0
answers
35
views
Is it possible to set the framework in launchSettings.json?
I created an Uno platform app and it's running well. By default, there are some profiles for WebAssembly and WinAppSDK, but there's no for android, to run android I need to change the framework ...
0
votes
0
answers
82
views
How do I get custom widgets to render in Visual Studio 2022 design tool with .NET Android?
I'm working on an Android app written in C# using the new .NET Android stuff (not Xamarin.Android). Note this is not MAUI (MAUI is to Xamarin.Forms as .NET Android is to Xamarin.Android). I'm using ...
0
votes
1
answer
278
views
How do you manually install/configure Android Emulator for Maui?
I need to install an Android (API34) for a project I am working on. I can't configure the device through the Android Device Manager as the download always fails with various errors.The Issue I get ...
0
votes
0
answers
291
views
How to exclude some libraries to be trimmed in .NET 8 for Android, not MAUI?
I'm migrating my app from Xamarin.Android to .NET 8 and I'm getting some issues since I don't have an option to exclude some libs that existed in Xamarin:
But in .NET 8 for Android in Visual Studio ...