How to connect a Genymotion PaaS/Device Image instance to any IDE?

Pre-requisites

If you are using Android Studio, the SDK platform-tools are already included.

Instructions

To connect your Genymotion instance to your favorite developer's tool (IDE), you need to connect it to ADB.

Setup your Cloud network firewall

ADB connections use TCP port 5555.

You first need to allow inbound connections to TCP port 5555 on your Cloud firewall.

> Warning: Do not open inbound TCP port 5555 to everyone (All, 0.0.0.0/0), or your instance will be vulnerable to attacks! Only allow inbound connections to TCP port 5555 from authorized hosts.

Please refer to your Cloud provider documentation to setup your Cloud network firewall:

> Note: A more secure option is to only open inbound connection to SSH and use a SSH tunnel. For detailed instructions, please refer to Genymotion Device Image user guide.

Connect the instance to ADB

Follow the steps from our user guide:

Once done, your instance should appear like a connected device in your IDE.