Question

I am having an issue while adding the instance with adb device?

Answer Medium Confidence (79%)

**How to connect a virtual device to ADB in Genymotion SaaS?**

Here’s how to connect a Genymotion SaaS virtual device to ADB and troubleshoot common issues:

- Prerequisites

- Make sure you’re using Genymotion SaaS with the gmsaas CLI tool installed.

- Have a Genymotion SaaS account and be authenticated (via API token as required by gmsaas).

- Step-by-step

1) Install and set up gmsaas

- Follow the gmsaas tool user guide to install and configure it on your machine.

2) Authenticate

- Run: gmsaas auth login (per the official guide)

3) Start the device(s)

- Launch the Genymotion SaaS VM(s) you want to work with.

4) Connect to ADB

- Use the ADB connect command:

- gmsaas instances adbconnect [--adb-serial-port PORT]

- After a successful connection, run:

- adb devices

- You should see something like:

- localhost:[PORT] (one entry per connected device)

- Common issues and fixes

- Adb tunnel communication failure

- This usually means the SDK path isn’t set correctly. Ensure your Android SDK is installed and that your PATH/ANDROID_HOME are configured so adb can run.

- Helpful references

- How to use IDEs with Genymotion SaaS (ADB connection via gmsaas): https://support.genymotion.com/hc/en-us/articles/360002559198-How-to-use-Android-Studio-Eclipse-VS-Code-JetBrains-Rider-or-any-other-IDE-with-Genymotion-SaaS

- Genymotion SaaS ADB connection tutorial: https://genymotion.com/blog/tutorial-tags/saas (overview and related guides)

- Desktop/SAAS cloud integration and copy UUID guidance: https://docs.genymotion.com/desktop/connect_to_saas

If you’re still seeing issues, please share:

- The exact command you ran and its output

- The UUID of the instance you’re trying to connect

- Whether adb devices shows any entries or if there’s a specific error message

One quick follow-up to help us tailor the fix: are you running Genymotion SaaS from the desktop app or directly via a cloud-based workflow, and which OS are you on (Windows, macOS, or Linux)? 🚀

Notes:

- Genymotion currently supports Genymotion SaaS and Desktop; ensure you’re using the latest release and not Windows 7 (which is not supported) if you’re on Windows. For compatibility details, see our Desktop User Guide sources linked above. 🖥️💡

Would you like a concise checklist you can copy-paste to verify your setup end-to-end?