【发布时间】:2015-04-23 21:48:26
【问题描述】:
我有一台 HTC,我将它插入运行 Yosemite 的 Mac。我可以在手机中看到“USB 网络共享”。但是,我在 Eclipse 的“设备”视图中看不到它。
我尝试重新启动 adb,但失败了。我在控制台中看到了这个:
[2015-02-22 15:35:57 - DeviceMonitor] Adb connection Error:EOF
[2015-02-22 15:35:57 - ddms] '/Users/Jim/android-sdk-macosx/platform-tools/adb,start-server' failed -- run manually if necessary
[2015-02-22 15:35:57 - DeviceMonitor] Connection attempts: 1
[2015-02-22 15:35:58 - DeviceMonitor] Connection attempts: 2
[2015-02-22 15:35:59 - DeviceMonitor] Connection attempts: 3
[2015-02-22 15:36:00 - DeviceMonitor] Connection attempts: 4
[2015-02-22 15:36:01 - DeviceMonitor] Connection attempts: 5
[2015-02-22 15:36:02 - DeviceMonitor] Connection attempts: 6
[2015-02-22 15:36:03 - DeviceMonitor] Connection attempts: 7
[2015-02-22 15:36:04 - DeviceMonitor] Connection attempts: 8
[2015-02-22 15:36:05 - DeviceMonitor] Connection attempts: 9
[2015-02-22 15:36:06 - DeviceMonitor] Connection attempts: 10
[2015-02-22 15:36:07 - DeviceMonitor] Connection attempts: 11
[2015-02-22 15:36:22 - DeviceMonitor] Adb connection Error:EOF
[2015-02-22 15:36:22 - DeviceMonitor] Connection attempts: 1
[2015-02-22 15:38:09 - DeviceMonitor] Adb connection Error:EOF
[2015-02-22 15:38:09 - DeviceMonitor] Connection attempts: 1
如何查看设备中列出的我的手机,以便我可以运行应用程序?
【问题讨论】:
标签: android eclipse debugging adt