So I created a new Xamarin.Forms solution including a Xamarin.Android project. I got the Xamarin Live Player for Android and I managed to pair my device, a Samsung Galaxy S7 with the Visual Studio 2017 Community running on my Windows 10 Pro computer. Fair enough! I clicked the play button from the debug target drop-down list and it was built and deployed to my Android device over the LAN.
Now here is my problem! I closed Visual Studio and downloaded the BugSweeper sample. I unpacked the sample, loaded it up in Visual Studio and selected Windows 10 version 16299 as target framework as the solution contains a UWP project, and my computer is running 16299 version. I set the Android project as the startup project, started the Xamarin Live Player on my device, and selected Manage Xamarin Live Player Devices from the drop-down menu. My device was listed, but it was "unreachable". I tried to remove it by clicking on the X and pair it again.
On my device I got the message "Connected to Visual Studio" and then it changed to "Lost connection to Visual Studio" right thereafter.
Here is the output log.
Start XamariTest.Android, Samsung SM-G930F Player, . Attempting connection to debug address: 0.0.0.0:37847. Attempting connection to debug address: 0.0.0.0:37847. Attempting connection to debug address: 0.0.0.0:37847. Attempting connection to debug address: 0.0.0.0:37847. Attempting connection to debug address: 0.0.0.0:37847. Unable to deploy to Samsung SM-G930F Player, please ensure the Xamarin Live Player app is open and the device is on the same network as Visual Studio. Failed to debug your app.
Am I doing something wrong here or is the Xamarin Live Player still unstable?
Why is the IP address listed as 0.0.0.0?
It worked the first time, why would it not work each time thereafter?
As can be seen here on the Xamarin Live Player manager window, the device is unreachable.