使用EClipse和Genymotion时,adb启动失败
来源:互联网 发布:中国联通音乐软件有些 编辑:程序博客网 时间:2024/05/22 01:53
一、遇到问题 [2016-11-22 11:17:35 - ] The connection to adb is down, and a severe error has occured. [2016-11-22 11:17:35 - ] You must restart adb and Eclipse. [2016-11-22 11:17:35 - ] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130917\sdk\platform-tools\adb.exe' and can be executed.二、解决办法
来自http://staratsky.iteye.com/blog/2162127。但是对于我的问题无效。
这些大多数是其它程序占用了5037端口导致的,解决问题的思路就是查看是哪个程序占用了adb调试端口,然后结束掉它就行。
使用命令如下:
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 18212
tasklist|findstr "18212"
kadb.exe 18212 Console 1 1,260 K
大家能够看到是一个叫着kadb.exe的程序在占用我们的adb端口,进入到任务管理器里面,找到它结束掉就行了(这里我找到的就是adb.exe)。
1.关闭kadb.exe
2.adb kill-server
3.adb start-server
4.重启Eclipse
三、我的问题
EClipse中配置的SDK和Genymotion中配置的ADB不同(Genymotion使用的是AS的SDK)。修改Genymotion中ADB的路径。然后再进行调试
0 0
- 使用EClipse和Genymotion时,adb启动失败
- genymotion运行时adb服务器启动失败的解决方法
- eclipse虚拟机adb启动失败
- eclipse插件启动Genymotion模拟器失败解决方案
- eclipse插件启动Genymotion模拟器失败解决方案
- eclipse插件启动Genymotion模拟器失败
- Genymotion启动失败解决方案
- Genymotion启动失败解决方法
- Genymotion启动失败解决
- Genymotion启动失败
- Iwfu-同时使用Eclipse和AndroidStudio开发时GenyMotion问题
- AndroidStudio链接不上Genymotion模拟器,adb启动失败的解决方法
- Genymotion启动失败的解决方法
- genymotion+virtualbox启动失败解决方案
- 通过eclipse开发Android应用,启动adb失败
- eclipse adb 启动失败,无法匹配android设备 的解决方案
- Android adb启动失败
- 启动adb失败
- sicily-1443. Printer Queue
- 五、对象的访问
- 工作流学习——Activiti流程定义管理三步曲
- mac安装CocoaPods遇到的问题及解决办法【转】
- 从0开始学习 GitHub 系列之「05.Git 进阶」
- 使用EClipse和Genymotion时,adb启动失败
- 会话信息获取函数
- Android -- 四大组件之Service详解
- java中new和newInstance的区别与联系
- Spring AOP阐述
- url中向后台传递中文乱码解决方法
- android QCN备份还原方法
- 框架 day74 涛涛商城项目整合ssm,分页插件pagehelper,商品列表查询
- libevent简介和使用