android - 尝试在 android 设备上调试我的应用程序时获取 "Launch error: Failed to connect to remote VM. Connection timed out"

标签 android eclipse debugging device

我尝试了网上和本网站提供的所有可能选项,但没有一个有效。

我得到:

Launch error: Failed to connect to remote VM. Connection timed out.

当我尝试在我的移动设备上调试我的应用程序时。 当我正常运行时,应用程序运行正常,没有任何问题

我现在至少使用过这些链接:

How to resolve "Waiting for Debugger" message?

Eclipse issue - Launch error: Failed to connect to remote VM. Connection timed out

Eclipse Error: "Failed to connect to remote VM"

Launch error: Failed to connect to remote VM

https://forums.oracle.com/forums/thread.jspa?threadID=653343

以上似乎都不起作用。

最佳答案

转到窗口 -> 首选项 -> 常规 -> 网络连接,检查这里是否设置了任何代理,将 'Active Provider' 更改为 'Direct' 并重试。

关于android - 尝试在 android 设备上调试我的应用程序时获取 "Launch error: Failed to connect to remote VM. Connection timed out",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9034147/

相关文章:

java - Eclipse AVD 不显示

python - 为什么ipdb下的help()命令会出错

java - 识别 `` 方法代码太大``起源

debugging - 在 iOS7 中查看控制台日志

java - Android Settings.ACTION_DISPLAY_SETTINGS 未找到

java - 安卓开发 : Avoiding Internal Getters/Setters?

java - Android ListView 使用 baseAdapter 返回 null onItemClick

eclipse - 如何调试 JSF/EL

android - Android 中的 log4j 支持

Java - 在 OpenCV 中读取帧