cmd下输入:android upadate adb
adb kill-server
adb start-server
mac下修改adb 默认端口号: export ANDROID_ADB_SERVER_PORT=60000
kill -9 5037端口的PID
查看端口号是否被占用:lsof -i tcp:5037
设置手机不锁屏:手机开发者选项-保持唤醒状态
cmd下输入:android upadate adb
adb kill-server
adb start-server
mac下修改adb 默认端口号: export ANDROID_ADB_SERVER_PORT=60000
kill -9 5037端口的PID
查看端口号是否被占用:lsof -i tcp:5037
设置手机不锁屏:手机开发者选项-保持唤醒状态