首页 > 技术文章 > android 之 adb 启动问题的一般解决办法

mercuryli 2015-10-07 16:59 原文

有时,当我们打开eclipse准备运行Android项目时,虚拟机会启动不了,并且会出现下面的报错。

[2015-10-07 16:47:46 - Game2048] ------------------------------
[2015-10-07 16:47:46 - Game2048] Android Launch!
[2015-10-07 16:47:46 - Game2048] The connection to adb is down, and a severe error has occured.
[2015-10-07 16:47:46 - Game2048] You must restart adb and Eclipse.
[2015-10-07 16:47:46 - Game2048] Please ensure that adb is correctly located at 'D:\android-sdk\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe' and can be executed.
[2015-10-07 16:48:25 - Game2048] ------------------------------

那怎么解决呢?下面说解决办法:

1.打开任务管理器,将一个名为kadb.exe的进程结束任务。因为这个进程与我们eclipse中的adb相冲突。

2.打开eclipse中的DDMS,点击devices中的reset adb。

 

3.重新运行我们将要运行的Android项目,就可以发现虚拟机可以启动了

推荐阅读