Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADB device list is empty [duplicate]

Tags:

android

adb

I have the latest version of Android Studio and an Android device.

I turned on developer mode on my device and plugged it to my lap top via USB. I didn't get the prompt message that asks me to authorize USB debugging with this pc and also my device list was empty when I ran on the cmd adb devices.

I tried to do adb kill-server and then adb start-server but the devices list was still empty and I still didn't got any authorize usb debugging message on my phone.

I tried to restart phone + PC + change USB cable but nothing.

like image 782
DramboHero Avatar asked Jan 22 '17 15:01

DramboHero


People also ask

Why adb devices is not showing?

Make sure your device is not connected as a media device. Can confirm that this is critical! On Android 5.0, go to Settings -> Storage -> menu -> USB computer connection and make sure 'Media device (MTP)' is disabled. When it's disabled 'adb devices' lists the device, when enabled not.

Can I Enable USB debugging using adb?

To use adb with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options. To use adb with a device connected over Wi-Fi, see Connect to a device over Wi-Fi. On Android 4.2 and higher, the Developer options screen is hidden by default.

How do I authorize a device on adb?

Open a command window and enter "adb devices". Watch the device's screen for any Authorization message and allow the connection.


1 Answers

This helped me at the end:

Quick guide:

  • Download Google USB Driver

  • Connect your device with Android Debugging enabled to your PC

  • Open Device Manager of Windows from System Properties.

  • Your device should appear under Other devices listed as something like Android ADB Interface or 'Android Phone' or similar. Right-click that and click on Update Driver Software...

  • Select Browse my computer for driver software

  • Select Let me pick from a list of device drivers on my computer

  • Double-click Show all devices

  • Press the Have disk button

  • Browse and navigate to [wherever your SDK has been installed]\google-usb_driver and select android_winusb.inf

  • Select Android ADB Interface from the list of device types.

  • Press the Yes button

  • Press the Install button

  • Press the Close button

Now you've got the ADB driver set up correctly. Reconnect your device if it doesn't recognize it already.

like image 102
DramboHero Avatar answered Oct 08 '22 23:10

DramboHero