1.若输入adb shell出现:
adb server is out of date. killing...
* daemon started successfully *
error: device offline
可能是adb版本较低,请换用较新的adb
2.若输入adb shell出现:
error: device unauthorized. Please check the confirmation dialog on your device.
因为手机端没有允许adb调试,需要在手机端确认