The connection to adb is down,a severe error

2024-10-12 09:13:36

1、首先是今天想测试下应用,没有问题的话就进行下一步的操作来着,结果遇到这个问题,The connection to adb is down, and a severe error has occured.

The connection to adb is down,a severe error

3、进行完这些,重启eclipse之后再次测试,结果发现还是错误,只不过错误提示改了,变成这样的了

The connection to adb is down,a severe error

5、之后再运行测试应用,在漫长的等待之后终于看到了久违的模拟器。

The connection to adb is down,a severe error

6、假如再任务管理器的进程中能看到adb.exe的进程,或者服务中能看到的话,重启应该也能起到这个作用,但是我这里没有看到,所以只能去dos去操作了!

7、遇到这类问题还有可能是其他的情况:a:模拟器不稳定,有时需要重新部署环境,甚至有时需要重新建立模拟器和新建个avd。b:可能是默认端口被占用,在cmd中键入netstat查看,关掉有冲突的端口程序,或者设置新的端口。c:将platform-tools目录和tools目录加到Path环境变量中。d:将Eclipse进入DDMS模式,重启ADB和Eclipse。

猜你喜欢