How to use Android Studio, Eclipse, VS Code, JetBrains Rider or any other IDE with Genymotion SaaS?
Most developer tools can communicate with Genymotion Cloud SaaS via ADB.
ADB (Android Debug Bridge) is a tool that lets developers communicate with Android devices from a computer.
gmsaas is the Genymotion SaaS command-line tool to connect virtual devices to ADB.
To do so, install and setup gmsaas tool to connect your virtual device to ADB:
- Install and setup gmsaas. For instructions, please follow gmsaas tool user guide.
- Log in to gmsaas with the command:
gmsaas auth <your account email>
- Launch the device(s) you wish to connect.
- Connect the device(s) to ADB with the command:
gmsaas instances adbconnect [--adb-serial-port PORT] <instance_uuid>
- If you get the error message Adb tunnel communication failure, it is probable that the sdk path has not been set properly.
- If successful, the command adb devices should return localhost:[PORT] for each connected devices.
- For more details, please refer to gmsaas user guide.
Related articles
- I get the error "Too many requests, try again later." when I try to create an account.
- The VirtualBox DHCP server has not assigned an IP address to the virtual device
- How to connect Genymotion SaaS virtual devices to ADB?
- How to connect a Genymotion Device Image (PaaS) instance to any IDE?
- macOS - An error has occurred while trying to create a virtualbox host-only network interface