Android error:Please ensure that adb is correctly located at '...\adb.exe' and can be executed.
来源:互联网 发布:圣火名尊盾牌进阶数据 编辑:程序博客网 时间:2024/05/17 09:47
Please ensure that adb is correctly located at 'C:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.
新建一个Android项目,直接报错,提示adb有问题,启动不起来。
检查了对应的目录,adb.exe也存在。
经过百度和前辈们的经验。终于找到原因:adb.exe的默认端口被占了,造成启动adb失败。
错误提示如下:
解决的方法:
网上有很多类似的解决方法,如:
或kill掉adb,然后重启adb server。
或Kill掉碗豆荚的进程wandoujia_daemon.exe;
或kill掉进程tadb.exe
这些方法不能说错,但更正确的方法应该是有一位前辈的做法:找到占用adb.exe默认端口:5037的进程,然后kill掉对应的进程即可。Windows的步骤如下
1. netstat -aon|findstr "5037" 查找占用5037端口的进程,图中显示是4052进程
2. tasklist|findstr "4052" 查找4052进程的进程名是什么。图中显示是kadb.exe
3. 在windows的任务管理器中kill掉kadb.exe。
4. 重启eclipse.
5. 问题解决
百度kadb.exe,发现是酷狗音乐的某个进程。原来这次我是在启动酷狗,听了音乐之后再进eclipse
2015/1/4记录
0 0
- Android error:Please ensure that adb is correctly located at '...\adb.exe' and can be executed.
- Please ensure that adb is correctly located at '...adb.exe' and can be executed.
- Please ensure that adb is correctly located at adb.exe and can be executed.
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
- Please ensure that adb is correctly located at .... and can be executed
- Eclipse报错 Please ensure that adb is correctly located at '.\adb.exe' and can be
- Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be
- 关于Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be execu
- 错误:Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 解决Please ensure that adb is correctly located at 'E:\eclipse\sdk\platform-tools\adb.exe' and can be
- 如何将JSON字符串转换成JavaScript元素
- JSON数据格式
- Google Chrome代码调试(一)——Console的使用
- json 基础知识
- java多线程之引入Runnable
- Android error:Please ensure that adb is correctly located at '...\adb.exe' and can be executed.
- GET,POST,PUT,DELETE的区别
- 轻松获取LAMP,LNMP环境编译参数配置 2
- Qt总结(整理)
- STL源码—list transfer merge reverse(TT)
- nio选择器
- Targets
- Qt浅谈之内置标准对话框
- STL源码—deque(TT)