Android 问题1

    xiaoxiao2021-04-12  42

    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”,如下图    3.输入tasklist|findstr “10056”,如下图    4.在任务管理器中干掉该应用,重启AndroidStudio即可

    转载请注明原文地址: https://ju.6miu.com/read-667523.html

    最新回复(0)