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.
Does anyone know how to solve this problem?
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.
Does anyone know how to solve this problem?
Here's what worked for me.
Android & Phone are selected in XF previewer. Close XF Previewer.App.Android project is marked as the start up project.Restart VSOpen the previewer again.I have no idea why the above worked for me, but, who am I to complain when its working.
The Xamarin.Forms Previewer in Visual Studio 2019 contains several improvements, many focused on making it more reliable. Now that VS2019 is out, please try it. That should fix this issue and others.
Same here with VS 2019 - 16.4.5. Happens over and over again... very annoying. For me its enough to close and reopen the xaml file.
You also may have a look here: https://windowsreport.com/something-went-wrong-connection-closed-xamarin/. And here are some troubleshooting tips from Microsoft
I had a similar problem. My problem was solved with Reinstall JDK11 on Windows Download and install Jdk 11 of : https://www.techspot.com/downloads/5553-java-jdk.html