Android 设备未显示在 DDMS 中

发布于 2024-09-27 08:20:07 字数 357 浏览 0 评论 0原文

在 Galaxy S 上运行 Android 2.2。主机是 OS X 10.6.4 机器。 Eclipse 中的 DDMS 报告没有连接任何设备。 adb devices——什么都没有。

我尝试过:

  1. 重新启动手机
  2. 切换 USB 开发模式
  3. 插入/拔出电缆
  4. 重新启动服务器 (adb Kill-server)。

奇怪的是,有时计算机不会检测到正在连接的手机(没有咆哮通知,没有系统日志条目),有时却会。其他安卓设备也可以工作。

你们有什么想法我还可以尝试什么或者这是一个失败的原因吗?

谢谢

Running Android 2.2 on a Galaxy S. Host is an OS X 10.6.4 machine. DDMS in Eclipse reports no devices being connected. adb devices -- nothing.

I've tried:

  1. Rebooting the phone
  2. Toggling the USB development mode
  3. Plugging/unplugging the cable
  4. Restarting the server (adb kill-server).

The weird thing is that sometimes computer will not detect the phone being attached (no growl notification, not syslog entries) and sometimes it will. Other android devices work.

Do you guys have any ideas what else I could try or is this a lost cause?

Thanks

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

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

发布评论

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

评论(4

凝望流年 2024-10-04 08:20:07

在最近的 MacBook Pro 上,一个端口无法持续工作。在 2 台不同的 Macbook Pro 上进行了测试。

On recent macbook pros, one port will not work consistently. Tested on 2 different Macbook Pros.

断爱 2024-10-04 08:20:07

与同事遇到了同样的问题,并发现不知何故,“USB 调试”在设置中被禁用,尽管它在几天前还运行良好。

只是想我会提到它,因为它让我们有点难住了。

Had the same issues with colleagues and found that somehow, "USB Debugging" was disabled in the settings, even though it had worked fine just a few days before.

Just thought I'd mention it because it had us stumped for a bit.

丶视觉 2024-10-04 08:20:07

我的开发设备(运行 Android 2.1、OS X 10.6.8 的 LG GT540)今天也神秘地停止出现在“adb devices”中。我记得与昨天相比唯一的变化是注销我的 Mac 帐户(就像我通常在一天结束时所做的那样)并拔掉 USB 电缆(我很少这样做)。

我尝试了上述建议,但设备直到之后才重新出现:

  1. 重新启动 Mac、
  2. 在设备上执行出厂数据重置(设置 > 隐私 > 重置)、
  3. 以安全模式重新启动设备(按住 Home + 挂断)按钮,同时开机),
  4. 重新切换开发人员设置:
    1. 启用 USB 调试以进行开发。
    2. 仅禁用 SD 卡大容量存储。
  5. 最后,正常重新启动设备。

谁知道问题到底是什么,但我可以再次查看并部署到我的设备。

My development device (LG GT540 running Android 2.1, OS X 10.6.8) also mysteriously stopped appearing in "adb devices" today. The only change from yesterday that I recall was logging out of my Mac account (as I typically do at the end of the day) and unplugging the USB cable (which I rarely do not).

I tried the above suggestions, but the device didn't reappear until after:

  1. Restarting the Mac,
  2. Performing a factory data reset on the device (Settings > Privacy > Reset),
  3. Restarting the device in Safe-Mode (hold Home + Hangup buttons while powering on),
  4. Re-toggling the developer-y settings:
    1. Enabling USB debugging for development.
    2. Disabling SD card mass storage only.
  5. And, finally, restarting the device normally.

Who knows what the problem really was, but I can see and deploy to my device again.

转身泪倾城 2024-10-04 08:20:07

不得不挖掘这个傻瓜:

注意:在 Android 4.2 及更高版本上,开发者选项默认是隐藏的。要使其可用,请转到“设置”>“关于手机并点击版本号七次。返回上一屏幕以查找开发人员选项。

Had to dig for this sucker:

Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

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