首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

关于android:The connection to adb is down, and a severe error has occured

2013-10-08 
关于android:The connection to adb is down, and a severe error has occured.点击项目run,报了这样的错,

关于android:The connection to adb is down, and a severe error has occured.

点击项目run,报了这样的错,前几天都好好的:

[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] ------------------------------

[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Android Launch!
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] The connection to adb is down, and a severe error has occured.
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] You must restart adb and Eclipse.

[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86\sdk\platform-tools\adb.exe' and can be executed.


其实很简单,你要改一下系统的环境变量path,由'D:\adt-bundle-windows-x86\sdk\tools改成了'D:\adt-bundle-windows-x86\sdk\platform-tools

你查看\tools目录发现多了一个adb_has_moved.txt文件,里面明确告诉了原因:The adb tool has moved to platform-tools。原来从SDK R8以后,SDK需要有一个新的组件支持,这个组件叫做Platform-tools,adb已经迁移到这个目录下去了。并且 adb_has_moved.txt文件也说明需要在PATH环境变量中增加\platform-tools路径,以便能够从任何地方启动adb.exe。  
然后重启电脑,启动eclipse,点击run,又报如下错误:


1楼lgx067小时前
但是二天有出现了该问题,我就奇怪了,真的要彻底解决下,后来发现发现金山手机助手也会占用5037端口,果断卸载了,再重新启动eclipse,就OK了。

热点排行