运行Android模拟器时出现如下错误:
The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located at 'X:E:\adt-bundle-windows-x86\sdk\platform-tools\adb.exe'and can be executed.原因应该是5037的端口被其它程序占用了,可以通过以下方法查找到底是哪个进程占用:
netstat -aon|findstr "5037"
tasklist|findstr "6084"查了下进程属性和签名,发现是金山手机助手进程,可以选择结束或者直接卸载。
然后重启eclipse,运行即可。
解决Android模拟器连接错误
本文介绍了当遇到Android模拟器连接错误时的解决方案,特别是针对端口5037被占用的问题。通过查找并结束占用该端口的进程(如金山手机助手),可以有效解决此问题。
627

被折叠的 条评论
为什么被折叠?



