The type or namespace name 'System' could not be found
When I try to create a new Xamarin Forms app, nothing works. No imports can be found. Almost every line in the autogenerated code has a "not found" error. Visual Studio Enterprice 2019 I've tried to update the packages in nuget packages…
How to fix typemaps.x86_64.ll Xamarin.Android.Common.targets(
Hi. When compiling a project to a virtual android device, an error occurs. It works fine on a physical device. I have used many virutal devices, Api 30-34, x86-64, nowhere works. I installed the Android SDK through Rider. Applications in Android Studio…
Video Recorder using MediaCodec in Xamarin.Android Produces Tiled Video Output
I am working on a video recording feature in a Xamarin.Android app using MediaCodec for encoding. My goal is to record video and save it in H.264 format. However, the output video appears tiled, as shown in the image below. Here is my code: using…
Why MonoAndroid is not supported anymore by some plugins like Firebase?
Hi! I'm not up-to-date with Xamarin. I've got 3 projects in Xamarin.Forms, but I don't actively maintain them. Only from time to time I have to update a few things to meet Google requirements. Usually, I also update all dependencies. However, recently I…
CarouselView throws System.IndexOutOfRangeException when ObservableCollection is changed
I have created a Xamarin Forms Shell App. The app has multiple tabs which route to different pages. On one of the pages I use a CarouselView. The ItemsSource of the CarouselView is an ObservableCollection<ContentView> inside the ViewModel. The…
Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.
I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…
How to pass generic list to activity
Hello i have a list class Classdaysun { public int daysun { get; set; } public int monthsun { get; set; } public DateTime time { get; set; } } private List<Classdaysun> list1= new…
VS 2022 can't start Android Emulator
updated Visual Studio from 2019 to 2022. the emulators canot start. Starting emulator pixel_5_-_api_33 ... 1>Waiting for emulator to be ready... C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -netfast -accel on -avd pixel_5_-_api_33…
How to add vertical scroll bar into relative layout
Hello in platform xamarin android I have a relative layout and inside some text view i try to add a scroll bar as parent to the text views but when i debug the app i get an exception android.views.inflateexception scrollview can hosts only one…
Xamarin archives not appearing in VS - cannot build archives
I cannot see any archives in Archive Manager, and when commanding "Archive..." project in Solution Explorer, no new archives appear, despite no visible errors. This worked fine a few weeks ago (even though mainaining a seesion with the mac long…
Unable to disconnect device on Samsung Android devices when Bluetooth connection is off
I am using the Ble.plugin to connect to BLE devices. However, I am having trouble disconnecting the device when Bluetooth is turned off on Samsung mobile devices. I can successfully disconnect on all other Android devices except for Samsung. Can someone…
Will MAUI ever support WebAuthenticator on Windows
I am trying to convert my app from Xamarin to MAUI. My Xamarin App is released on iOS, Android, and Windows. It performs Authentication using WebAuthenticator. My Server back end supports Google, Apple, Facebook as well as several other OAuth logins. As…
AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once
I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…
Xamarin issue
Hi, Xamarin is being phased out, and those structures like Shell, ResourceDictionary, Style, Setter are parts of Xamarin, right? What is the replacements to "those structures like Shell, Style, Setter" in .Net apps?
Xamarin.Forms : change dynamically BarBackgroundColor
In a Xamarin.Forms program, how to dynamically change the BarBackgroundColor? I already changed the app.xaml file like this: <Application.Resources> <ResourceDictionary> <!--Global Styles--> <Color…
Getting Error: CS0234 The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?)
i have a Xamarin App (UWP & Android). The UWP still works, but after upgrading Nuget pacjkages i get the errors shown below. All the errors are in the MainActivity.cs File. Am I missing a Nuget Package or other reference? If so, which? Error CS0234:…
New app to connect to external camera like gDMSS
Hey! I have a more general question, since I'm looking for some possibilities for a new app. I have a camera here at my house and I use the app gDMSS Lite (for Android) to connect to this camera and to watch everything live. Now I want to try to…
Scripts inside local html is not working with webview Eval in UWP Xamarin forms
Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :
Back button navigation doesn't work in xamarin android
Hello I have a table of buttons each button displays a number When i click one of them i start a new activity Then if i click the back button i doesn't return to the precedent activity i have to click once again the back button. It depends on which…
Error ADB0010
Error ADB0010: Mono.AndroidTools.InstallFailedException: The package was not properly signed (NO_CERTIFICATES)