亚行连接被中断,您可能想从设备视图手动重新启动ADB [英] Connection with adb was interrupted You may want to manually restart adb from the Devices view

查看:262
本文介绍了亚行连接被中断,您可能想从设备视图手动重新启动ADB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows 7和JDK 6。

I am using Windows 7 and JDK 6.

我下载了Android SDK中使用Eclipse的包,并按照说明创建第一个Hello World应用程序。

I downloaded the package of Android SDK with Eclipse and followed the instructions to create the first Hello World application.

然而,当我站在MainActiviy.java,然后点击运行,我得到在控制台以下错误:

However, when I stand on MainActiviy.java and click on run I get the following error in the console:

与亚行连接中断,您可能需要手动重新启动
  亚行从设备视图。

Connection with adb was interrupted You may want to manually restart adb from the Devices view.

我试过很多的答案,我在这里看到:
1.重新启动服务器ADB
2.确保路径是正确的JDK
3.我去了preferences,并没有看到任何警告或错误。

I tried many answers that I saw here: 1. Restart adb server 2. Make sure that the path is to the correct JDK 3. I went over preferences and didn't see any warning or error.

我可以运行emulator-,它工作正常。不过,这并不运行Hello World应用程序。

I can run the emulator- and it works fine. But it doesn't run the Hello World application.

什么是错的?

推荐答案

我不得不去DDMS视图,并考虑到设备的菜单,供选择:

I had to go to DDMS view, and in view menu of the devices, to choose:

重新启动ADB。

这使一切工作正常。

这篇关于亚行连接被中断,您可能想从设备视图手动重新启动ADB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆