Search code examples
androidadbandroid-virtual-device

Adb wont recognise AVD


I'm using ADT 22.6.3 on Linux.

I started an emulator like $ ./emulator -avd API_10_ARM

But adb wont recognise it:

$ adb kill-server
$ adb devices 
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 

$ 

ADB version:

$ adb version
Android Debug Bridge version 1.0.31

Edit: The emulator is listening on 5554 and 5555:

$ netstat -tulpn | grep emul
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:5554          0.0.0.0:*               LISTEN      23236/emulator64-ar
tcp        0      0 127.0.0.1:5555          0.0.0.0:*               LISTEN      23236/emulator64-ar

Solution

  • A. try sudo adb kill-server

    followed by sudo adb devices

    B. try running adb from the platform-tools directly

    or alternatively, install android-tools-adb using apt-get