【发布时间】:2011-12-27 06:28:39
【问题描述】:
我已将 Nexus One 设备连接到 PC。设备上的 USB 调试已打开。当我从 Eclipse 运行应用程序时,它在设备上运行良好。但是,如果我尝试调试,我会在 Nexus One 上收到一个消息框,说明它正在等待调试器附加。在 Eclipse 方面,经过大约 20 秒左右的思考后,我在控制台中得到以下信息
Attempting to connect debugger to 'com.angryhacker.printerfun' on port 8600
Launch error: Failed to connect to remote VM. Connection timed out.
我错过了什么?
【问题讨论】:
-
你尝试重启 eclipse 了吗?当我遇到连接超时错误时,我通常会重新启动 eclipse。
-
@Vinoth 是的,我已经多次重启 Eclipse。没有骰子。
标签: java android eclipse debugging