46

if i start an emulator using the android SDK r12 it does not show up in the adb devices list

win7 64 // android 2.2 (not an actual hardware device - just the emulator)

what could be the problem?

FritzPhantom
  • 463
  • 1
  • 4
  • 4
  • May be changing the emulator booting mode can help.By default emulator runs on snapshot boot mode, changed it to cold boot mode. – Minhas Kamal Jun 28 '20 at 08:45

3 Answers3

118

You can also try to :

 adb kill-server
 adb start-server

to restart the adb server. Maybe something went wrong with the adb-server. This happens a lot, and many such issues can be solved by restarting the server.

Ovidiu Latcu
  • 71,607
  • 15
  • 76
  • 84
  • I am trying to automate unit testing on our home grown CI system. Even though I restart adb it looks like it still cannot work with emulator instance though it gets to see the device. It times out with an error message. Any ideas to work around this issue. – user210504 Sep 24 '12 at 22:15
  • 1
    How can I attach Andriod Emulator created by Andriod Sutdio to the list ? – user123456 Dec 31 '19 at 16:13
1

Make sure that you are at the path and give command.

android-sdk_r12-windows\android-sdk-windows\platform-tools>adb devices

I am also using win7 64 It is working for me. If you are getting any error. Mention it.

Also make sure that USB debugging is enabled in your device.

Settings>Applications>Development>USB debugging

Can you able to see device in eclipse? If not then close your emulator and open it again.

Vivek
  • 4,170
  • 6
  • 36
  • 50
  • My question: How do you enable USB debugging in device if the screen is completely destroyed? I'm trying to back-door in for some things mainly my Google Authenticator numbers. – Rich Bianco May 02 '18 at 20:28
0

Sometimes even adb itself bugs, for me always works good old pkill:

pkill -9 adb
K.H.
  • 1,383
  • 13
  • 33