Android中虚拟器打开出错

来源:互联网 发布:下载股票买卖软件 编辑:程序博客网 时间:2024/06/05 04:28

出现错误:

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 'D:\java\sdk\platform-tools\adb.exe' and can be executed.


这样的错误今天第一次出现,我查了很多方法,比如

1、重新配置环境。这种一般不太可能啦,我是之前可以用突然不能用的情况。

2、又比如查看端口5037是否被占用。查看端口:netstat -aon|findstr "5037"          结果:TCP    127.0.0.1:5037     0.0.0.0:0     LISTENING       2124,表示被占用,查看端口2124是谁:tasklist|findstr "2124"            结果:wandoujia_daemon.exe     6540 Console     1      4,224 K,所以要去任务管理器中结束wandoujia_daemon.exe。我按这种方法做了之后没用,事实证明不行,或者说不适合我这种情况。

3、成功的方法:adb kill-server然后adb start-server  搞定,嘿嘿嘿!!

0 0
原创粉丝点击