这个贴技术含量不高,主要是分享出来帮助新手的,高手请绕道吧,免得浪费你时间。
新入手了一台三星 S5.
装了驱动啥的。
用真机来跑 case.
结果在发现真机 offline.
再次检查了驱动,usb 调试勾选等,发现没什么问题。
然后用命令: adb devices
结果发现设备是 unauthorized.
上搜了解决方案:
adb kill-server
重插 usb
adb start-server
结果还是如此。
然后找谷歌帮忙,总算找到了一个解决方案:
I had similar situation. Here is what I did:
Try to check and uncheck the USB Debugging option in the device. (if not working, try to unplug/plug the USB)
At some point, the device should show up a messagebox to ask you if you authorize the computer. After you click yes, the device is then authorized and the connection is hooked.
照做,结果就起来了,设备终于 Online 了。