---
title: "Please ensure that adb is correctly located at 'D:\\android-sdk-windows\\platform-"
author: "mickey_hou"
date: "2013-02-27T14:27:50Z"
tags: []
categories: ["移动开发"]
slug: "please-ensure-that-adb-is-correctly-located-at-d-android-sdk-windows-platform"
draft: false
lastmod: "2013-02-27T14:27:50Z"
id: 1816568
url: "https://mickey-hou.iteye.com/blog/1816568"
---

adt 出现ADB server didn't ACK, failed to start daemon 然后你想启动一个程序 这个时候又会出现 Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and can be executed. "
首先呢 查看是否查看任务管理器，是否有关闭所有adb.exe 有的关掉
将将android-sdk-windows\platform-tools和android-sdk-windows\tools都加到环境变量中去
测试一下能启动不能 如果不能
运行一下命令行
 
adb kill-server 
adb start-server
 
这个时候可能出现

D:\android-sdk-windows\platform-tools>adb kill-server
D:\android-sdk-windows\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
 
 如果还是有毛病 这个时候唯一的选择，我这里呢 没有听从网上的 说啥重启机器 重启eclipse，我的办法是
在eclipse中的android管理器中也就是 avd Manager中  选择 第一个选项 虚拟设备virtural device从里面找到一个模拟机启动 当启动起来之后   关掉你的eclipse 在重新启动 就好了
 
这里说命的一点是 一定要注意 虚拟设备一定要先开 然后在重启eclipse 至少我的方法是这样子的
注意一个顺序问题