5,379 questions with Developer technologies | .NET | Xamarin tags

2 answers

Unable to Import Existing Keystore

Trying to distrubute/sign the apk and need to reimport my keystore. It doesn't show up anymore, not sure if it disappears because of the windows 11 update or visual studios updates, on 16.11.10. When I try to import it I get "There was an error…

asked
Rob Ward 1 Reputation point
commented
Anton Modaresi 1 Reputation point
1 answer

IPA file not getting created / Show IPA in mac menu option remains disabled though build successful on release configuration

Hi everyone, IPA file is not getting created for my Xamarin.Forms iOS app. Usually like in earlier times, I used to check the IPA file inside bin/iPhone/Release or click "Show IPA file on Build Server" and find the same. But now both options…

asked
Paul 296 Reputation points
answered
Steve Makh 0 Reputation points
1 answer One of the answers was accepted by the question author.

Android Issues Recording Audio in Xamarin using Plugin.AudioRecorder

I have successfully utilised NateRickard's three year old Nuget Plugin.AudioRecorder to make audio recordings and play them back. I have been careful to set both StopRecordingOnSilence and StopRecordingAfterTimeout to false to allow extended…

asked
Grime 796 Reputation points
commented
Daomar Damlakhi 0 Reputation points
2 answers

Item in CollectionView is not highlighted if used in SwipeView ?

Hi all, I have the following CollectionView with SwipeView inside: <CollectionView SelectionMode="Single" ItemsSource="{Binding Source}"> <CollectionView.ItemTemplate> <DataTemplate> …

asked
Denis Creator 196 Reputation points
edited an answer
vanKraster 201 Reputation points
2 answers

iOS Binding Library in MAUI

I have a native iOS SDK Library which I have been trying to integrate in my MAUI app for iOS/Android via iOS Binding Project. The iOS SDK xcframework has certain classes in the headers folder which I suppose are public headers. My query is : Can the…

asked
Aakash Pandey 0 Reputation points
commented
Nancy Vo (WICLOUD CORPORATION) 6,025 Reputation points Microsoft External Staff Moderator
3 answers

How to copy VS2019 Solution Folder from location one to another by drag and drop

I have a VS2019 solution in a Desktop Folder that compiles/deploy successfully. I copied/move this folder in my Document Folder. This copied Solution has error saying Android Namespace is not defined. There are many post regarding this that are…

asked
Universal Camera 276 Reputation points
answered
Bruce (SqlWork.com) 84,086 Reputation points
5 answers One of the answers was accepted by the question author.

FCM notification not received when app is terminated

I'd like to ask a question regarding Firebase Cloud Messaging. So recently, I've implemented FCM notifications into my app, created the API to send notifications, etc. But I came to a halt regarding the notifications when the app is closed or terminated…

asked
Adrian Jakubcik 121 Reputation points
commented
Mike Sharp 1 Reputation point
1 answer One of the answers was accepted by the question author.

Issues pairing with Mac from new PC

For months, I have successfully been writing iOS and Android apps through Xamarin.Forms (VS 2019) on an acer laptop (Windows 10) paired to a Mac Mini (Big Sur). On the weekend, the laptop died so I brought in an Intel Nuc I had to take its place.…

asked
Grime 796 Reputation points
commented
VICKY FIKRIACHRI 0 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.iOS: Crash when calling ATTrackingManager.RequestTrackingAuthorization

I'm trying to add Requesting Tracking Authorization to an older app developed using Xamarin.iOS (native, not forms). I believe that I've done everything correctly, but whenever the app makes a call to…

asked
EK 176 Reputation points
commented
jinglian cui 41 Reputation points
1 answer

WebView events does not detect the url change

I want to navigate only to a youtube video and if I try to navigate to youtube home or another page inside youtube, i want to detect the url change and cancel it from loading. I have implemented the OnNavigating and OnNavigated event, a webview custom…

asked
Alan Rojas 1 Reputation point
commented
Nar3ik36 0 Reputation points
4 answers One of the answers was accepted by the question author.

Rotate an App in the correct mode

Hi to all. I have an App with Xamarin that needs to show the screen only in one mode: vertical not orizontal. When I rotate the tablet for me is useful to avoid the rotation in the side when the width is larger than the height so the image of the xaml is…

asked
Paolo Mossa 246 Reputation points
answered
Paolo Mossa 246 Reputation points
2 answers One of the answers was accepted by the question author.

How to "sign" an Android aab before submitting to the Play Store

I'm relatively new (a few months) to Xamarin and have successfully created a cross platform app that I'd now like to publish to the stores. My app works fine on a raft of simulators and emulators as well as my (principal device) iPhone 11 and my (token)…

asked
Grime 796 Reputation points
commented
Ronald 0 Reputation points
3 answers

-AAPT indicates error about all files in folder animation

Hello I create a project for creating .net application for android. Also i add a subfolder named animation below Resources folder. In this folder i stored some xml files. When i build the project i get error Error (active) APT2144 invalid file path…

asked
Shay Wilner 1,746 Reputation points
commented
Anonymous
7 answers

XA0137: The 'run-as' command failed with 'run-as: couldn't stat /data/user/0/com.test.demo: No such file or directory '.

Hi all, My app not installing in release mode, Even I tried generating apk and installing but app is crashing every time. I'm getting following error Start debugging Android application failed Start debugging Android application ... am start -a…

asked
Nagarjuna Gadikota 1 Reputation point
answered
Alistair Thomson 30 Reputation points
3 answers

Visual Studio 2022 Version 17.14.20 Is not showing Remote Device for .NET iOS Release builds

Remote device is no longer available for release builds in VS2022 version 17.14.20 for .NET iOS release builds.

asked
David Rodenberg 5 Reputation points
commented
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 2,285 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

Issue with running Xamarin Forms project on Visual Studio 2022

I have a Xamarin Forms project and I am not able to run it on my Visual studio. The problem is the emulator and physical device are also not showing in the VS to run. VS version: Microsoft Visual Studio Professional 2022 (64-bit) - Current Version…

asked
Sreenivasan, Sreejith 885 Reputation points
commented
Sreenivasan, Sreejith 885 Reputation points
1 answer

Imagem ao lado de texto Xamarin Forms

Estou tentando criar uma tela de perfil de usuário, e nela algumas informações do usuário serão expostas e gostaria de colocar ao lado do nome, por exemplo, uma imagem de uma pessoa (como um ícone). Porém, a imagem não aparece, o espaço onde ela deveria…

asked
Julia gubolin 1 Reputation point
answered
Paulo Lopes 0 Reputation points
1 answer One of the answers was accepted by the question author.

XAMARIN FORMS ERROR INSTALL

Hello, I have a XAMARIN application that is working perfectly on the EMULATOR, but when I copy the APK to a mobile device it says that it cannot install, or sometimes it even installs but does not open. Anyone to give me a tip?

1 answer

Xamarin Android error during Release compilation. XALNK7001: System.NullReferenceException at MonoDroid.Tuner.AddKeepAlivesStep.AddKeepAlives

I've an Android app that compiles and runs in Debug mode. When I set it to Release mode, I receive following error during compilation: XALNK7001: System.NullReferenceException: Object reference not set to an instance of an object. at…

asked
Bado-dev 1 Reputation point
answered
Vlad 0 Reputation points
1 answer

What changes I would need to release Application for Android 16KB in Xamarin.Android?

Hi, in order to meet the "Android 16 KB Memory Page Requirement", is it mandatory to move the app from Xamarin to MAUI or is there any way to do it in Xamarin? Many thanks. Regards.

asked
Juan Antonio Ortega 5 Reputation points
commented
Starry Night 625 Reputation points