genymotion.com
→
How to establish a TCP session to a virtual device?
How to establish a TCP session to a virtual device?
To establish a TCP session to your virtual device, you must set up port forwarding with ADB:
adb forward tcp:<host port> tcp:<virtual device port>
ADB forwards the packets to the virtual device for you. You do not need to directly contact the virtual device. This must be done each time the virtual device is started.
For more information, please refer to http://developer.android.com/tools/help/adb.html#forwardports
For AI agents Using Claude Code, Codex, Cursor, GitHub Copilot or Gemini in Android Studio? Genymotion publishes an official open source skill (MIT) that lets your agent start and control Genymotion SaaS and Desktop devices and look up the Genymotion documentation. Install it once and your agent loads it whenever it needs a device. Genymotion skill on GitHub
Step-by-step commands your agent can run: