Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android adb devices does not detect my phone

I have Android Studio on Windows 8.1 and I want to run my android app on my Samsung Galaxy S7 phone.

Here are the details:

  1. USB debugging in my phone is ON
  2. adb version is 1.0.36
  3. Under Device Manger -> Portable Devices -> My Phone, the status is 'The device is working properly'
  4. I also installed Google USB driver in SDK Tools
  5. My desktop can detect my phone since I can read and write files using Windows Explorer

I tried the following but still, adb devices still does not recognize my phone.

  1. Tried USB Configuration MTP
  2. Tried USB Configuration PTP
  3. Tried using different USB cables
  4. Tried restarting Android Studio before and after I plug my device to my desktop

Did I miss any configuration? Any help is appreciated!

Thanks!

like image 765
racumin Avatar asked Jan 17 '17 16:01

racumin


2 Answers

I too had the same problem. I tried the following and it worked.

Make sure Developer options and USB debugging is enabled on your device Then on your Windows system.

  1. Open device manager and locate your device's ADB Interface Driver
  2. Right click and choose properties
  3. Check in the general tab if your device is working properly
  4. If it is not enabled then go to Driver tab and select enable
  5. You may have to try enabling your device a few times(7-8)

If this works then you may see the below message on the General tab

This device is working properly.
You need to restart your computer before the changes you made to this device will take effect.

And that's how I made it work.

like image 85
Stan Avatar answered Sep 28 '22 09:09

Stan


install drivers for your device and enable developer mode for your device

like image 34
Prateek Ratnaker Avatar answered Sep 28 '22 09:09

Prateek Ratnaker