错误:"亚行连接错误:一个现有的连接被强行远程主机&QUOT关闭;

错误:"亚行连接错误:一个现有的连接被强行远程主机&QUOT关闭;

问题描述:

当我试图重启我的亚洲开发银行出现以下错误:

When I tried to reset my adb the following error occurs:

[2011-09-14 09:34:06 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-09-14 09:34:07 - DeviceMonitor]Connection attempts: 1

我只是做一个简单的Hello World程序。

I am just making a simple "hello world" program.

那么,它不是强制重新启动模拟器还可以从日食本身重置ADB。

Well, its not compulsory to restart the emulator you can also reset adb from eclipse itself.

1。) 转至DDMS且有一个复位亚行选项,请参见下面的图片。

1.) Go to DDMS and there is a reset adb option, please see the image below.

2。)您也可以手动从命令提示符下重新启动亚行

  run->cmd->your_android_sdk_path->platform-tools>

然后写下面的命令。

Then write the below commands.

ADB杀死服务器 - 强行杀死服务器

adb kill-server - To kill the server forcefully

亚行启动服务器 - 要启动服务器

adb start-server - To start the server

更新:

F:\android-sdk-windows latest\platform-tools>adb kill-server

F:\android-sdk-windows latest\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *