流程
1. 了解版本PC adb/Phone android的版本
2. windows驱动是否安装3. adb kill-server; adb start-server
最近几个adb版本
adb 1.0.32 android L 5.0 or before
adb 1.0.32 new revision, android M 6.0 adb disable-verity
adb 1.0.36 android N 7.0
错误1
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon
adb的端口(5037)被占用了
netstat -ano | findstr "5037"
tasklist | findstr "8516"
任务管理器杀死该进程
通常有豌豆荚,360手机助手之类的软件
错误2
adb remount失败
Use "adb disable-verity" to disable verity.
remount failed
android M 6.0 or above
before adb remount, need adb disable-verity; adb reboot
错误3 找不到设备
没有安装windows驱动
linux找不到设备
http://blog.csdn.net/kv110/article/details/48272159