Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phone isn't recognized by ADB

Tags:

android

adb

this whole thing is a nightmare, at least in windows. I had my phone connected and everything was ok. I have a Samsung Galaxy, I've installed the USB driver and it was okay, I could run apps from eclipse directly on my phone. Now nothing is differentm but when I type adb devices it recognizes my phone but its offline. USB debug option is checked, and I have the right drivers installed. Any idea? thanks!

like image 861
yotamoo Avatar asked Jun 17 '11 19:06

yotamoo


3 Answers

I ve seen multiple times this problem and there is no common answer. i'll make a list of solutions that I have seen across severals forums:

  • Restart ADB server with the following commands: adb kill-server and then adb start-server

  • Change the USB cable you are using: I've seen a lot of complaints about Samsung's USB cable.

  • Change the USB socket you are using

  • Try to reinstall the drivers (for instance, for Samsung devices, installing Kies; this solved the problem for me)

  • Try to reboot your phone

  • Unset the debug mode on the device and set it again

Adb seems to often cause troubles, not the best piece of software I've seen!

like image 178
darkheir Avatar answered Oct 22 '22 10:10

darkheir


Make sure your phone's SD card isn't mounted as a drive on your Windows machine. Whenever that happens to me, I can't connect via adb.

like image 3
Sean Schulte Avatar answered Oct 22 '22 10:10

Sean Schulte


Have you also tried to change the USB socket in which you plugged the USB cable?

Sometimes one thinks about unplugging/replugging, but not about changing the USB socket in which to plug the cable. All the more since it is correctly recognized by Windows.

I had the same symptoms (Windows recognizing my Samsung Galaxy, but not ADB), and changing the place where I plugged the USB cable did worked for me.

like image 1
Vincent Hiribarren Avatar answered Oct 22 '22 08:10

Vincent Hiribarren