Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Xamarin - Emulator black screen/

I decided to install xamarin the other day so I could start coding in c#. So far it's been an absolute nightmare getting anything to work. I downloaded the xamarin bundle that visual studio offers and now I'm trying to simply run a test app and the emulator won't work.

I've looked at every video online, & tried to read through as many forums as possible but at this point I need direct help before I throw my computer into the pool(jk)

I've downloaded android emulator & installed almost all the devices & made sure to install all the packages in the android sdk. I created a new device from the vds manager but I STILL get errors. this is the message I get waiting for the emulator to start, I don't see the android splash either

still waiting

like image 870
Roy Zohan Avatar asked Aug 07 '17 04:08

Roy Zohan


2 Answers

I got stuck on this for a while until the basic issue was I simply was not waiting long enough. Keep an eye on your Visual Studio build window, and watch all the slow messages as the come up.. it takes around 3-5 minutes on a blank project for the first time on a intel i5 with 8GB ram.... so the trick really in my case was to be patient. I think it gets faster second time round as it remembers some of the hard work it did the fist time to get it to work.

like image 78
RobertB Avatar answered Oct 07 '22 11:10

RobertB


I just reseted the emulator to factory defaults and it worked. Reseting Android emulator in visual studio

like image 21
Shaahin Avatar answered Oct 07 '22 12:10

Shaahin