Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin.Forms Previewer "Connection is closed" [closed]

Just opened the Xamarin.Forms Previewer and it says "Something went wrong, Connection is closed" Its a fresh Visual Studio 2017 install and a blank Xamarin Forms Project.

Here is a screenshot

Does anyone know how to solve this problem?

like image 952
J. Dan Avatar asked Oct 02 '17 17:10

J. Dan


1 Answers

Here's what worked for me.

  1. Make sure Android & Phone are selected in XF previewer.
  2. Now Close XF Previewer.
  3. Make sure your App.Android project is marked as the start up project.
  4. Restart VS
  5. Open the previewer again.

I have no idea why the above worked for me, but, who am I to complain when its working.

like image 187
Muqeet Khan Avatar answered Nov 06 '22 02:11

Muqeet Khan