Unable to create Debug Bridge: Unable to start adb server: error: could not install *smartsocket* li

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hwl1314/article/details/52538023

Unable to create Debug Bridge: Unable to start adb server: error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)
error: unknown host service
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon

意思是5037端口被其它应用占用了,找到该端口对应的应用,步骤如下:
1.打开cmd.
2.输入netstat -aon|findstr “5037”,如下图
1
3.输入tasklist|findstr “10056”,如下图
2
4.在任务管理器中干掉该应用,重启AndroidStudio即可

猜你喜欢

转载自blog.csdn.net/hwl1314/article/details/52538023