3

I've recently run into the problem of the Android Emulator not deploying and showing a black screen instead. I've been working on this problem for 24 hours now and I can't seem to fix it.

Even a blank Xamarin.Forms Project causes the Black Screen. I guess the path of the Android SDK might be wrong? (but I don't know how to fix it...)?

enter image description here

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
Mris Satr
  • 31
  • 4
  • shutdown the emulator, run [Xamarin Device Manager](https://learn.microsoft.com/en-US/xamarin/android/get-started/installation/android-emulator/device-manager?tabs=windows&pivots=windows), edit the Emulator and change the [GPU emulation mode](https://learn.microsoft.com/en-US/xamarin/android/get-started/installation/android-emulator/device-properties?pivots=windows). Also try to update the GPU drivers in Windows. – magicandre1981 Mar 22 '19 at 15:11
  • I did and nothing works. Also the Base code of the project seems to produce errors... :-/ – Mris Satr Mar 23 '19 at 16:52
  • 1
    try to run the VM from device manager without VS and look if it boots. Also run SDK manager and update emulator to last version. – magicandre1981 Mar 23 '19 at 18:21
  • I had the same issue before. The way I fixed it is to create a new emulator and then run the project again. – AbbyWang - MSFT Mar 25 '19 at 06:25

1 Answers1

1

I got it resolved by running VS as administrator

Try it out.

user007
  • 540
  • 5
  • 11