Prerequisites
Prerequisites are the tools and credentials needed to connect to a Genymotion Device Image (PaaS) instance.
- ADB tool from Android SDK (platform-tools).
- ADB stands for Android Debug Bridge.
- If you are using Android Studio, the SDK platform-tools are already included.
Instructions
Instructions describe how to connect the Genymotion Device Image (PaaS) instance to an IDE via ADB.
Setup your Cloud network firewall
- ADB connections use TCP port 5555, so you first need to allow inbound connections to this port on your Cloud firewall.
- Do not open inbound TCP port 5555 to everyone (All, 0.0.0.0/0), or your instance will be vulnerable to attacks!
- Please refer to your Cloud provider documentation to setup your Cloud network firewall.
- Cloud provider options include AWS, Alibaba Cloud, GCP, and MS Azure.
- A more secure option is to only open inbound connections 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: How to access a virtual device from ADB?
- Once done, your instance should appear like a connected device in your IDE.
Related articles
- How to use Android Studio, Eclipse, VS Code, JetBrains Rider or any other IDE with Genymotion SaaS?
- How to connect to a Genymotion Desktop virtual device remotely with ADB?
- How to access a local host or service from a virtual device?
- How to install and use Xposed/EdXposed/LSPosed with Genymotion SaaS?
- ADB connection is lost after a while with my Genymotion Device image instance(s).