不断收到...DeviceMonitor]无法启动监控

发布于 2024-12-22 06:32:29 字数 223 浏览 3 评论 0原文

我发现在使用 eclipse 运行或调试我的应用程序几次后,我在控制台中得到了上述输出(红色),并且我没有从 Dalvik 得到关于我手机的连接状态的反馈。我的应用程序仍将进行调试等。我在控制台中没有得到任何有用的信息。

有什么想法如何解决这个问题吗?看起来是断断续续的。它在几分钟后开始这样做,持续这样做很长一段时间,偶尔会再次消失。这发生在我的最后一台笔记本电脑上,现在又发生在我全新安装的新笔记本电脑上,等等。

I find that after running or debugging my application a few times using eclipse, that I get the above output in my console (in red) and I get no feedback from Dalvik as to the connection status to my phone is going. My application will still debug etc. I just get nothing useful in my Console.

Any ideas how to fix this? It appears intermittent. It starts doing it after a few minutes, continues to do it for quite a while and occasionally goes away again. This has happened on my last laptop and now on my new laptop with a completely fresh install etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

过期以后 2024-12-29 06:32:30

我有同样的问题 -
尝试使用不同的 USB 端口。
根据我的经验,不建议在 PC 前端使用 USB 连接。

I had the same problem -
Try to use a different USB port.
From my experience, the USB connections on the PC front are not recommended.

我也只是我 2024-12-29 06:32:30

快到 2018 年了,我遇到了同样的问题,让我的白发翻倍。事实证明,我的测试手机三星 Galaxy S6 不喜欢我的 Apple Thunderbolt 显示屏上的 USB 端口。我只需将 USB 线直接插入我的 Mac Pro 即可立即使用。有趣的是,我的 Google Pixel 手机从未抱怨 Thunderbolt 上的 USB 端口。

Year almost 2018 I just had same problem which doubled my gray hairs. It turned out my test phone Samsung Galaxy S6 does not like the USB ports on my Apple Thunderbolt Display. I just plugged the USB cable directly to my Mac Pro and it worked right away. Funny thing is my Google Pixel Phone never complains about the USB port on Thunderbolt.

无人问我粥可暖 2024-12-29 06:32:30

为了防止错误消息出现,我在 Eclipse 3.7 上执行了以下操作:

  • Window->Preferences
  • 在左侧树上选择 Android->DDMS
  • 在 DDMS 设置窗口中选择日志记录级别“Assert”
  • 单击“Apply”

To keep the error message from showing up I did the following on Eclipse 3.7:

  • Window->Preferences
  • On the left side tree select Android->DDMS
  • In the DDMS settings window choose logging level "Assert"
  • Click "Apply"
你丑哭了我 2024-12-29 06:32:30

您可能必须杀死守护程序并重新启动它。以下是步骤;

  1. 打开命令提示符并找到 SDK 的平台工具文件夹。例如:- cd c:\android-sdk-windows\platform-tools

  2. 然后执行“adb Kill-server”命令。您将看到运行配置面板中的断开连接图标现已清除。

  3. 然后再次执行“adb start-server”命令。

  4. 然后尝试运行设备,如果不起作用请尝试重新启动 eclipse。

You may have to kill the deamon and restart it. Following are the steps;

  1. open a command prompt and locate the SDK's platform tools folder. E.g.:- cd c:\android-sdk-windows\platform-tools

  2. then execute "adb kill-server" command. You will see the disconnected icon in run configuration panel is now cleared.

  3. then again execute "adb start-server" command.

  4. Then try running the device, if it doesn't work try restarting the eclipse.

乖乖兔^ω^ 2024-12-29 06:32:30

重新启动你的开发机器,对我有用:)

restart your dev machine, worked for me :)

涫野音 2024-12-29 06:32:30

我也使用 USB 3.0 端口和带有 ics 4.0 的 Xoom 设备。
为了解决我的问题,我需要重新启动 Windows,因为在 DDMS 中我的设备显示了两次。
重新启动后,我需要将 USB 端口更改为 2.0 USB 端口,它对我有用。

I was using a USB 3.0 port too and a device Xoom with ics 4.0.
To solve my problem, I needed to restart my Windows, because in the DDMS my device was showed twice.
After the restart, I needed to change the USB port to a 2.0 USB port and it work for me.

烂柯人 2024-12-29 06:32:30

USB bug 引起的问题

1- 保存您的工作
2-关闭Eclipse
3-重新启动计算机
4- 打开 Eclipse 并享受 ^^

它对我有用 祝

你好运

The problem caused by an USB bug

1- Save your work
2- Close Eclipse
3- Restart your computer
4- Open Eclipse and enjoy ^^

it works for me

Good luck

负佳期 2024-12-29 06:32:29

我使用的是 Windows 7 64 位;但一天中我可能会遇到 2 或 3 次同样的错误。我尝试过重启,有时有效,有时无效。

我发现修复方法是:

  1. 关闭 Eclipse
  2. 拔下 USB
  3. 打开任务管理器并找到“adb.exe *32”并结束任务
  4. 打开 Eclipse(尚未完成)
  5. “清理全部”(不仅仅是项目)
  6. 然后构建项目(对于我,只是构建项目工作)
  7. 重新插入 USB 即可开始!

总是为我工作。如果有人知道我可以下载某些东西的更新以避免一直这样做,我很想知道!

I'm on Windows 7 64 bit; but maybe 2 or 3 times during the day I get this same error. I tried the reboot thing, which sometimes worked, sometimes didn't.

I have found the fix to be:

  1. Close Eclipse
  2. Unplug USB
  3. Open task manager and find the "adb.exe *32" and End Task
  4. Open Eclipse (not done yet)
  5. "Clean All" (not just project)
  6. Then build the project (for me, just building the project works)
  7. Plug USB back in and there ya go!

Always works for me. If anyone knows of an update to something I can download to avoid doing this all the time, I'd love to know!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文