The connection to adb is down, and a severe error has occured.
来源:互联网 发布:steam skyline 源码 编辑:程序博客网 时间:2024/06/06 16:47
[2014-11-25 16:13:28 - Helloworld] Android Launch!
[2014-11-25 16:13:28 - Helloworld] The connection to adb is down, and a severe error has occured.
[2014-11-25 16:13:28 - Helloworld] You must restart adb and Eclipse.
[2014-11-25 16:13:28 - Helloworld] Please ensure that adb is correctly located at 'G:\Androidsdk\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe' and can be executed.
今天导入到虚拟机中的时候在下面的运行栏目中一直出现以上的一些文字。尝试着使用如下方法进行解决
【
1,关闭eclipse并在进程中杀掉adb.exe,然后重启。
2,如有真机连接,拔掉真机,重复1的步骤,
3,关掉eclipse,然后在命令行运行如下命令
adb kill-server
adb start-server
然后重启eclipse
还有别的类似的办法就不再这里多说了,
我的问题最根本其实是端口5037被占用,在命令行中运行netstat -a,会出现一堆东西,找找是否有关于5073端口的东西,经我验证我的是有东西的,所以我的端口被用,但是我已经将adb.exe杀掉,所以是别的东西占用了这个端口,回忆了下,最近有什么操作和之前不同,就是用豌豆荚连了下真机,那有可能就是豌豆荚占用的,我先关闭eclipse,我在进程中杀掉了豌豆荚,然后再重启eclipse,之后命令行执行adb reboot;出现下列情况
可以看出端口回来了,daemon 打开成功,而之前报错时在控制台中daemon是打开失败,现在问题基本解决了,这里出现了一个error,不要担心,只是没检测到设备,可能是没有运行模拟器或者没连真机导致的,现在就能运行项目检测了,我想问题应该能解决了。根据我的情况,第二天重新开机运行项目后又出现同样的问题,进程中又多了豌豆荚,但是我并没有打开豌豆荚,所以建议不要将豌豆荚设为开机启动。问题就能解决了。
如果有和我一样用豌豆荚安装apk的开发者遇到这样的问题可以尝试这种方法,最后我还是建议大家安装apk时还是最好用命令行push或者instal,其实我主张不用此类第三方软件,有时最原始的方法是最方便的。】
但是一直提示adb kill-server
'adb' 不是内部或外部命令,也不是可运行的程序
在platform-tools目录下,于是进行拷贝粘贴,将platform-tools目录下的adb拷贝到tools下,即可使用
同理,还有两个文件AdbWinApi.dll和AdbWinUsbApi.dll
这两个也一样,复制粘贴过来就可以了
注释【里面的东西来自网络】- The connection to adb is down, and a severe error has occured
- The connection to adb is down, and a severe error has occured.
- eclipse The connection to adb is down, and a severe error has occured 解决方法
- android The connection to adb is down, and a severe error has occured
- The connection to adb is down, and a severe error has occured
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.解决办法
- The connection to adb is down, and a severe error has occured
- Android错误:The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.
- Android错误:The connection to adb is down, and a severe error has occured.
- Android 关于“The connection to adb is down, and a severe error has occured.”
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured
- android The connection to adb is down, and a severe error has occured.问题的解决办法
- The connection to adb is down, and a severe error has occured.
- NYOJ12喷水装置(二)
- 你的性格是什么颜色的?乐嘉《性格色彩学》测试题
- NGUI butten 点击事件监听
- 计算机视觉,图像处理 经典代码paper整理(很全很强大!)
- 《unix高级环境编程》进程控制——进程等待
- The connection to adb is down, and a severe error has occured.
- Java文件下载
- wampmanager配置多版本php,apache
- 冯诺依曼结构和哈佛结构
- 13周。。项目六。。文件输入。。处理成绩(3)
- 《unix高级环境编程》进程控制——exec序列函数
- 一次分布式数据采集中的MSSQLSERVER技术总结
- 设备节点创建过程源代码分析
- 发明专利申请的一些内容