androidandroid-studioandroid-emulatoradbandroid-usb

emulator is not listed in connected usb devices even though the usb debugging is on in android studio


I have enabled developer options and usb debugging mode in my emulator in android studio and it was working very well; it was listed in my connected usb devices and I could select it for running my application. But once I killed the process from command-line with sudo kill -9 (since my computer was freezing and I had no other choice), my usb connected device list is empty.

What I've tried:

Notes:

  1. I run android studio with root permissions; so I assume it can perform required actions with root access.
  2. I checked connected usb devices from command line with sudo adb devices -l and my emulator was not listed there either.

Solution

  • I tried the solution here by Deepak Kumar and it worked. It is:

    1. Go to Phone Setting > Developer options > Revoke USB debugging.
    2. Turn off USB debugging and Restart Again.