错误:“Adb连接错误:现有连接被远程主机强制关闭” [英] Error: "Adb connection Error:An existing connection was forcibly closed by the remote host"

查看:132
本文介绍了错误:“Adb连接错误:现有连接被远程主机强制关闭”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试重设我的 adb 时,会出现以下错误:

  [2011-09-14 09:34:06  -  DeviceMonitor] Adb连接错误:远程主机强制关闭现有连接
[2011-09-14 09:34:07 - DeviceMonitor]连接尝试:1

我只是制作一个简单的hello world程序。

$ b $嗯,它不是强制重新启动模拟器,你也可以从eclipse本身重置adb。



1。)
转到DDMS,并且有一个重置adb选项,请看下面的图片。



2。)您可以从命令提示符手动重新启动adb / p>

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

然后写下面的命令。



adb kill-server - 强制杀死服务器



adb start-server - 启动服务器

更新:

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

F:\android-sdk-windows latest\platform-tools> adb start-server
*守护进程不运行现在开始在港口5037 *
*守护进程成功*


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

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

解决方案

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

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

2.) You can restart adb manually from command prompt

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

Then write the below commands.

adb kill-server - To kill the server forcefully

adb start-server - To start the server

UPDATED:

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 *

这篇关于错误:“Adb连接错误:现有连接被远程主机强制关闭”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆