
Xamarin Android Emulator Mac
Xamarin Emulators on a Virtual Machine. Visual Studio 2015 Community Edition Update 2 comes with an Android emulator, but does not come with a Windows Phone emulator. Do I need to download the Windows Phone 8.1 SDK to install the Windows Phone emulator? Data analysis excel for mac. If yes, will it work on my Windows 7 Virtual Machine?
Normally I'm developing on a mac with Xamarin Studio. Debugging an Android project on the Android emulator running on your mac is easy, because it just works. But now and the I need to do some work from my windows machine. My windows is running as a VM with Parallels Desktop. Visual Studio isn't recognising the Android emulator running on my mac. I'm ok with that because the mac and windows are two different machines.
Why do i need antivirus for mac. To the extent that ratings appear on this site, such rating is determined by our subjective opinion and based on a methodology that aggregates our analysis of brand market share and reputation, each brand's conversion rates, compensation paid to us and general consumer interest.
Now, there is a way to debug your Android app on the emulator running on mac from your visual studio running on windows (if you don't lost me now, keep reading because doing so isn't that hard). Find the IP address of your mac Open up a terminal application and search for your ip address: # full list command ifconfig # or the first network adapter command ifconfig en0 # results in. Inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255. Connect the emulator from Windows Normally it should be possible to connect to an emulator via the adb command. On your windows machine open up an Android Adb Command Prompt and try to connect with the command: adb connect the-ip-address-of-your-mac:5555 # so in my case adb connect 192.168.0.2:5555 I was a bit surprised to see the following error: unable to connect to 192.168.0.2:5555: cannot connect to 192.168.0.2:5555: No connection could be made because the target machine actively refused it.
(10061) Even with the firewall on the mac disabled I got the same result. After some googling I wasn't surprised to find a solution on the Xamarin website itself. The full article can be found on To make it easy, I'll give you the short version: Step 1 Kill the adb server on your mac adb kill-server Step 2 forward inbound TCP packets to the loopback interface and outbound packages back the other way cd /tmp mkfifo backpipe nc -kl 5555 0 backpipe That's it, as long as you leave that command open, you can now connect from your Windows machine to your Android emulator running on the mac.
And when the firewall of your mac is enabled you'll get a pop-up to ask if it's ok to change its settings.
After you have verified that hardware acceleration is enabled, the next step is to create virtual devices to use for testing and debugging your app. You can use the Android SDK Emulator Manager to create virtual devices for use by the Android SDK Emulator. Installing System Images Depending on which Android API level(s) you want to target, you must download and install API level-specific system images that are used by the Android SDK emulator. For each Android API level, there are a set of x86 system images that you will need to download and install for creating virtual devices. To install the necessary system images, start the Android SDK Manager ( Tools > Android > Android SDK Manager) and scroll to the API level(s) you want to support. For each API level, enable the check mark next to the following system images: To install the necessary system images, start the Android SDK Manager ( Tools > SDK Manager) and scroll to the API level(s) you want to support.
For each API level, enable the check mark next to the following system images: • Intel x86 Atom System Image • Google APIs Intel x86 Atom System Image The latter system image adds Google APIs (for example, Google Maps APIs) to the virtual device. In the following screenshot, Intel x86 Atom images will be installed so that virtual devices running Android 6.0 can be created: If you are developing 64-bit apps, install the following system images instead: • Intel x86 Atom_64 System Image • Google APIs Intel x86 Atom_64 System Image You can use these 64-bit system images to run 32-bit apps; however, the 32-bit Intel x86 Atom System Image runs slightly faster in the Android SDK emulator. If you are developing apps for Android Wear, install the following system images: • Android Wear Intel x86 Atom System Image • Google APIs Intel x86 Atom System Image After these system images are installed, you can create x86-based Android virtual devices by selecting the appropriate API level and CPU/ABI choices during virtual device configuration (this is described next). Configuring Virtual Devices Virtual devices are configured via the Android Emulator Manager (also referred to as the Android Virtual Device Manager or AVD Manager).