Issue
I am trying to get my Parallels Visual Studio install to talk to the Android Studio Emulators on my MAC (for whatever reason I am struggling to start the windows ones such as Android Player / Microsoft Android Emulator as they ask for Hyper-V or whatever etc).
Also, having it connect to my MAC reduces the need to install emulators on every VM instance.
I have followed the steps in this guide -
https://taco.visualstudio.com/en-us/docs/run-android-emulator-on-osx-using-parallels/
And after I run the putty SSH script to connect to the MAC, I sadly cannot see any emulators using
adb devices
But, if I run from windows command prompt after the script has connected -
adb connect localhost:5555
I then see via
adb devices
List of devices attached
emulator-5554 offline
So it is "sort of" connecting, but the device is registering as offline and I cannot seem to do anything to get it online so that it could finally show up in the Xamarin Visual Studio Device list.
Does anyone have experience of this who could help out? Is this doable for Xamarin Visual Studio?
NOTES
I have tried kill-server / start-server on both machines to no avail to remove the offline
Solution
Thank you WickedW, I'm glad it helped!
So the solution is:
I had the same problem and I found that if Xamarin studio is running on Mac, it will block ports 5554 and 5555. Close it, run in Parallels Windows
adb kill-server
(Visual Studio will restart it) and restart the SSH connection.
Answered By - Bicskei Tibor
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.