有人可以看看吗!!在线及时回复

问题遇到的现象和发生背景

java.lang.RuntimeException: Unable to create Debug Bridge: Unable to start adb server: Process did not terminate within specified timeout, killing it
'D:\sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary

问题相关代码,请勿粘贴截图
运行结果及报错内容

img

我的解答思路和尝试过的方法
我想要达到的结果

img

看一下是不是5037端口占用了,如果是占用了,就结束占用的进程
netstat -aon|findstr "5037"