Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio doesnt recognize my device - Nexus 6P [duplicate]

I am struggling to figure out the problem with my device not being recognized in Android Studio. However I do see it from file explorer and can browse the device files.

  • OS: Windows 10
  • Device: Nexus 6P

Yes, I did some research before posting this question, so I'll enumerate what I tried:

  • Enabled USB Debugging
  • Installed Google USB drivers from the SDK manager
  • Intalled HiSuite(apparently including some device drivers)
  • Switching between MTP/PTP
  • Restarting Android Studio several times
  • Restarting my computer several times
  • Every USB 2/3 ports of my computer
  • Tried updating drivers from device manager(however it did not suggest anything)
  • adb kill-server / start-server

Any suggestions would be greatly welcome!

Thanks in advance!

like image 456
SlashJ Avatar asked Feb 07 '16 03:02

SlashJ


People also ask

Why is Android studio not detecting my phone?

Open up your device manager, navigate to your android device, right click on it and select Update Driver Software then select Browse driver software. Follow the file location path previously to install Google USB Driver. Restart Android Studio and Developer Options in your android device and reconnect USB. Cheers !

Why is ADB not detecting my device?

It might be that the ADB issue is not with your computer but is with your Android device. In most cases, ADB cannot recognize your device because the USB debugging option is turned off on the device. Turning this option on can fix the issue for you and this is pretty easy to do.


2 Answers

Apparently, installing 'Google USB Drivers' from the SDK Manager doesn't actually install them!

You have to go to:

'C:\Users\your_user\AppData\Local\Android\sdk\extras\google\usb_driver\'

  • right-click on 'android_winusb.inf' and install.
like image 174
SlashJ Avatar answered Sep 27 '22 18:09

SlashJ


Try to use ADB over Network but it depends what Android version you have. In Developer options you should see ADB over network section if not then sorry for this unhelpful advice.

like image 33
J.D.1731 Avatar answered Sep 27 '22 20:09

J.D.1731