Phone isn't recognized by ADB

2019-01-28 02:46发布

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!

标签: android adb
4条回答
手持菜刀,她持情操
2楼-- · 2019-01-28 03:11

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.

查看更多
劳资没心,怎么记你
3楼-- · 2019-01-28 03:12

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.

查看更多
ら.Afraid
4楼-- · 2019-01-28 03:13

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!

查看更多
女痞
5楼-- · 2019-01-28 03:18

Have you tried restarting the adb server?

Run:

adb kill-server    
adb start-server    
adb devices
查看更多
登录 后发表回答