Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Genymotion Android emulator - adb access?

I downloaded Genymotion Android emulators for Oracle VirtualBox (http://www.genymotion.com/) on my Windows 7 PC, created a virtual Jelly Bean with Google Apps device. How do I enable ADB access to it? In system settings/Developer options I already enabled "USB debugging", but typing "adb devices" shows empty list of connected devices. Tried adding a USB port for this VM and rebooting VM, but it does not help.

Greg

like image 252
gregko Avatar asked Jul 08 '13 15:07

gregko


People also ask

What is ADB Genymotion?

ADB is a communication protocol specific to Android that allows to connect or control an Android device from a computer. It can be used with a Genymotion Device image instance for: controlling an instance Android OS.


1 Answers

We need to connect with IP address to the emulator, so look for the IP address of the running emulator (it's shown in the emulator title bar) and use something like:

adb connect 192.168.56.102:5555

Afterward adb works normally. You may also find out the IP address of a running emulator by starting "Genymotion Shell" and typing 'devices list'

I also find out that occasionally I have to do the above when the emulator is running for a longer time and somehow ADB disconnects from it.

Greg

like image 153
gregko Avatar answered Sep 20 '22 08:09

gregko