adb cannot connect to daemon解决方法
系统 Ubuntu 20.04 LTS
Android studio 4.1.1
报错提示:
adb server killed by remote request
- failed to start daemon
error: cannot connect to daemon
Step 1:
ps -aux | grep adb //查看adb占用哪个端口
Step 2:
找到 adb -L tcp对应的端口号
sudo kill [对应的端口号]
Step 3:
adb kill-server
Step 4:
adb start-server