安装apk文件报waiting for device 时解决办法

C:Users oot>adb install d: ry_0514.apk
error: more than one device and emulator
- waiting for device -
error: protocol fault (status read)

# Kill and restart      
$ adb kill-server      
$ adb start-server     
 daemon not running. starting it now *      
 daemon started successfully *         

# Device appears, but is listed as offline

$ adb devices      
$ adb logcat

原文地址:https://www.cnblogs.com/AliceAn/p/4503170.html