---
title: "You must restart adb and Eclipse问题的解决  "
author: "andyxrl"
date: "2015-01-27T09:13:17Z"
tags: []
categories: ["移动开发"]
slug: "you-must-restart-adb-and-eclipse"
draft: false
lastmod: "2015-01-27T09:13:17Z"
id: 2179678
url: "https://dasheny.iteye.com/blog/2179678"
---

最近运行eclipse，控制台时不时老出现这样的错误：

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:/[android](http://www.apkbus.com/)-sdk-windows/tools/adb.exe' and can be   executed.

反正重启adb和Eclipse是没有用的。

方法一：

之后有人说将tools和platplatform-tools的路径加到path 还有classpath里面，但是好像没有用

方法二：

adb  kill-server

\- startserver

方法三：

直接重启电脑，感觉这个才是最管用，那天就是一下子开了好几个模拟器，之后eclipse就犯二了！

方法四：

一种情况是“豌豆荚”或“手机助手”类软件占用了adb,在任务管理器中停止“豌豆荚”以及adb后重启adb后重启eclipse

注意把任务管理器中的豌豆荚关闭了！

 

[wordpress教程](http://www.dasheny.com/t/18628.html)