且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法打开调试端口:java.net.ConnectException"连接被拒绝"

更新时间:2021-08-11 19:45:18

您调试端口可能是忙(在被另一个进程使用)。
您可以使用此杀死所有与ADB调试端口(8601或更高)相关的进程:

Your debug port is probably busy (in use by another process). You can kill all the process associated with the ADB debug port (8601 or higher) using this:

fuser -k 8601/tcp 

更新:

OSX ,lsof$c$c>应该做的工作在替换定影

lsof -i :8601