3

I created a Xamarin.Forms project in Visual Studio 2015. When I try to debug the deployment fails and the Output Window says "Please select a valid device before running the application." But the dropdown list for the emulators is empty. I started the AvD Manager and added an emulator but the list in Visual Studio is still empty.

Any tips?

Emulator list in VS 2015

AvD Administrator

Update

This solution here worked for me. Thanks a lot to Ads!

Community
  • 1
  • 1
Jer
  • 383
  • 3
  • 17

2 Answers2

0

That way will get you the Android Emulators with the original Android Emulator. However if you want to use something faster I would recommend the Visual Studio Android Emulator.

Open up Visual Studio Android Emulator, normally under your start menu but here if you need it.

C:\Program Files (x86)\Microsoft Emulator Manager\1.0\emulatormgr.exe" /sku:android

Then these emulators will appear in Visual Studio and use the Visual Studio Android Emulator. If you do decide to use this emulator, also please make sure that you don't have Android Player or Genymotion installed as they will conflict.

Adam
  • 16,089
  • 6
  • 66
  • 109
0

I had the exactly same issue. I managed to get it working by going to Xamarin options and updated.

Screenshot1

Screenshot2

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325
Cassio
  • 1,347
  • 13
  • 15