Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android device is not connected to USB for debugging (Android studio)

I am trying to debug my application using a real device instead on the emulator. When I try to connect, it gives me the message:

USB device not found

I tried to unplug and plug it again, but it did not work. And I have also enabled USB debugging and unknown sources options in my device.

Any help is appreciated!

Thanks!

like image 755
user1438823 Avatar asked Jul 07 '13 04:07

user1438823


People also ask

Why is my phone not USB debugging?

For Android 4.2 and newer, Developer options is hidden by default; use the following steps: On the device, go to Settings > About <device>. Tap the Build number seven times to make Settings > Developer options available. Then enable the USB Debugging option.

How do I enable USB debugging on my Android phone when I can't access Android?

If you want to enable USB debugging on Android, just need to go to Settings > USB utilities > Connect storage to PC > Plug your USB to PC.


2 Answers

I had this problem with a Nexus 7 - it appeared in Device Manager fine but wasn't recognised by Android Studio. The device had USB debugging turned on. Eventually I noticed an icon in the top left hand corner that said "Connected as a media device. Touch for other USB options." When I selected this I was able to change from Media Device (MTP) to Camera (PTP) and then it started working.

like image 195
parsley72 Avatar answered Sep 28 '22 04:09

parsley72


If you are on windows, many times it will not recognize the device fully and because of driver issues, the device won't show up.

  • go to settings
  • control panel
  • hardware and sound
  • device manager

And look for any devices showing an error. Many androids will show as an unknown USB device. Select that device and try to update the drivers for it.

like image 37
HalR Avatar answered Sep 28 '22 04:09

HalR