i'm trying to use Xamarin with my Xiaomi 9t Pro but even though all my drivers are up to date and i enabled "USB debugging" and "install via USB", VS 2019 doesn't show my phone as an accessible device. It doesn't show at all in fact as if it wasn't plugged for VS.
thx,
Related
Hi has anyone managed to get Android Emulator working on an M1 Mac with Visual Studio? I'm struggling to get it running.
In Visual Studio, Android Device Manager is showing one device
Android 10.0 - API 29
arm64-v8a
1 GB memory
1080 x 1920 resolution
Base device is Pixel 2 (+ store)
When I select it and press run, I just get a message "The emulator exited unexpectedly, please check the emulator settings".
Not sure what settings need to be changed or corrected though.
Update
Running on:
Visual Studio 2022 for Mac Version 17.3.8 (build 5)
Xamarin Android 13.0.0.0
Using VS 2015 i Debug the App on Physical Device .
But After install VS 2017 preview 15.3 preview 3 both VS 2015 And 2017 failed to detect the Physical device and only the emulators are added,
!(https://imgur.com/a/Bf372)
I want to using the physical device especially with VS 2015.
For me in spite of using Samsung device VS detect the device after download the USB Driver
https://developer.xamarin.com/guides/android/getting_started/installation/set_up_device_for_development/#Download_the_USB_Drivers
I'm trying to setup for Xamarin development, but can't find Visual Studio Emulator for Android and Windows 10 Mobile Emulator (Creators Update) under Individual Components ( those items in red in the screenshot below). All I can see the first 2 under the Emulators list Google Android Emulator(API Level 23) and Intel Hardware Accelerated Execution Manager (HAXM).
My computer specs:
8GB RAM
64-bit Windows 10 Home
Note*: the screenshot is from the instructions that I found online, not from my computer.
]1.
The Visual Studio Emulator for Android is using Hyper-V which requires Windows 10 Pro. But you can use the Google Android emulator which is using the mentioned Intel HAXM.
I tried to modify my VS enterprise 2017 15.2 (26430.13) and checked the Individual components – Emulators, the options are the same as yours, please check this following screenshot. The photo you shared is a previous VS 2017 version and looks different with the latest version, you should not follow it.
Since your OS is windows 10 Home version, you need to upgrade to the professional version, please refer to this: System Requirements for the Visual Studio Emulator for Android and it requires the 64-bit version of the Pro edition of Windows 8, Windows 8.1, Windows 10 or higher to use the VS Emulator for Android.
I have installed Visual Studio Android Emulator in Dell tablet Venue 8 pro 5855. The OS is Windows 10 pro and came with built-in NFC. But I did not see any NFC settings in the additional tools.
Is NFC supported in Visual Studio Android Emulator?
Looking for some inputs. Thanks in advance!
This is the screenshot of the emulator's additional tools
You need to have:
1- The open NFC (sdk addon)
2-The Open NFC core (last version is 4.5.2)
you can download from here
I have installed Visual studio 2015 Community edition and wanted to try Xamarin for Android/iOS development. Default installation for VS doesnt show me any installed emulator with visual studio.
I am new to mobile development and not sure which emulator to install. There are options like Visual studio Android Emulator for 2015. But it wont work on my Windows 10 home edition.
Please suggest.
As Toby suggested below. I used Xamarin Player. It is not straight forward process though. I did following steps if some one is interested.
1) Installed Xamarin Android Player.
2) Had Oracle VM Box manager installed previously as part of Android SDK(I think).
3) After installing Xamarin Android Player, It prompted for the device I wanted to use. I selected Nexus 5 KitKat. After downloading required files. I tried to run the device. Got another error!! Saying 'Xamarin Fail to initialize device'.
3) I opened Oracle VM and selected the device. Clicked on Settings > System > Base memory. Reduced base memory to 1024 MB. Saved the changes.
4) Opened Xamarin Studio and re-ran the device.
Success!!!
5) Came back to Visual Studio. It started to show me the device in Visual Studio. Ran the solution and Voila! App is indeed in visual studio.
That is correct. Visual Studio Emulator for Android works only with the Pro version or higher of the operating systems Windows 8, Windows 8.1 and Windows 10. Instead of the Visual Studio Emulator for Android, you can test your Android application with the Android Player from Xamarin. The Xamarin Android Player works official with all version of Windows 7, Windows 8 and Windows 8.1. I use the Xamarin Android Player with Windows 10 without issues. Alternative you can use the Android Emulator from the SDK.