打开Android Studio时报如下错误提示:

Unable to create Debug Bridge:Unable to start adb server:error:cannot parse version
string:kg01 'xxxxxxxxxxxxxxx' failed -- run manually if necessary

这是因为adb.exe使用的5037端口被占用了

 

解决办法:

根据提示查看adb的端口号5037被谁占用

通过 netstat -aon|findstr “5037”  找出相应的pid号,

再通过任务管理器找到相应pid号的进程,然后将其结束,最后重启adb即可。

相关文章: