欢迎使用CSDN-markdown编辑器

来源:互联网 发布:js数组常用方法 编辑:程序博客网 时间:2024/04/30 18:09

安装完Genymotion并启动AVD后,在Eclipse中Run一个项目出现如下错误:

[2014-02-23 09:43:17 - Speedy] The connection to adb is down, and a severe error has occured.
[2014-02-23 09:43:17 - Speedy] You must restart adb and Eclipse.
[2014-02-23 09:43:17 - Speedy] Please ensure that adb is correctly located at ‘C:\Users\AnDrOiD\android-sdks\platform-tools\adb.exe’ and can be executed

在折腾了许久后,终于在stackoverflow上找到答案:

Genymotion bundles its own adb, which kills the adb Eclipse is trying to use when it starts itself. Go to the adb tab of Genymotion’s settings and switch to a custom adb. You’ll have to set the SDK path when you do so.

Genymotion绑定了自己的adb。当它启动时,会结束掉Eclipse一直想要使用的adb。因此,Eclipse中启动adb会一直报错。

解决方案:

在Genymotion的设置中,将AVD改为自定义的adb。

0 0