Run adb on mac android emulator
![run adb on mac android emulator run adb on mac android emulator](https://miro.medium.com/max/1021/1*AdEWeMM2QgNJ5AJ_iv7W_A.png)
It is available for Windows, Mac, and Linux machine. It can be used to develop, test and run Android apps on Mac PC. It is the fastest Android emulator on the earth. You can double check you typed correctly running this command netsh interface portproxy show allĪnd take note of the local IP typing ipconfig | findstr IPv4 Genymotion is a fast and wonderful third party emulator that can be used to create a virtual environment for Android. Type netsh interface portproxy add v4tov4 listenport=5554 connectport=5554 connectaddress= Type netsh interface portproxy add v4tov4 listenport=5555 connectport=5555 connectaddress= Īnd now it’s time to forward the incoming connections to the Genymotion emulator.įrom the windows machine run command line as administrator: go to Start > type cmd > the first result will be Command Prompt, right-click on it and select Run as administrator. Take note of the IP address of the emulator, from now on I’ll call it. It’s time to start Genymotion and run our Android emulator. Use the same configurations, just specify 5554 in Specific local ports, and in the end call the rule ADB remote 5554 Now right click on Inbound Rules > New Rule once again and repeat the process for port 5554.
![run adb on mac android emulator run adb on mac android emulator](https://developer.android.com/studio/images/emulator-sdk-manager.png)
Uncheck Domain and Public if you need this rule for your home network onlyĪdd a name to the rule I’ve called it ADB remote 5555 On Start, go to Windows System > Control Panel > System and Security > Windows Firewall > Advanced Settings. Now you need to open port 55 to let ADB connects to Genymotion. This solution can be convenient if you don’t want to overload your Mac with the heaviness of the emulator or/and a long test suite takes some time to finish and in the meantime you need to switch to another emulator.įirst of all, go to Genymotion settings > ADB > Select Use custom Android SDK tool and leave it empty, in this way Genymotion will not restart the local ADB when the external ADB will try to connect. The solution has been tested on a local trusted network nevertheless, an SSH tunnel would be preferable.
#Run adb on mac android emulator Pc
Genymotion is an awesome Android emulator, the support is good and the installation is fast and simple: it simply works out of the box!Īfter experimenting some configurations, I’ve accomplished to run Genymotion on a Windows PC and make it available for connection from my Mac.
#Run adb on mac android emulator for mac
Even if this might appear as an edge case I know a lot of Android devs using Genymotion emulator for Mac in their daily work, but emulators in general, are RAM eater that slow down the entire system.