Also you can try to edit an adb config file .android/adb_usb.ini and add a line 04e8 after the header. Restart adb required for changes to take effect.
I have a Samsung Galaxy and I had the same issue as you. Here's how to fix it:
In device manager on your Windows PC, even though it might say the USB drivers are installed correctly, there may exist corruption.
I went into device manager and uninstalled SAMSUNG Android USB Composite Device and made sure to check the box 'delete driver software'. Now the device will have an exclamation mark etc. I right clicked and installed the driver again (refresh copy). This finally made adb acknowledge my phone as an emulator.
As others noted, for Nexus 4, you can also try this fix.
运行 adb devices 显示没有连接的设备。但当我从 OS X 中弹出“ZTE_USB_Driver”磁盘并再次运行 adb devices 后,手机显示已连接。
I have a ZTE Crescent phone (Orange San Francisco II).
When I connect the phone to the USB a disk shows up in OS X named 'ZTE_USB_Driver'.
Running adb devices displays no connected devices. But after I eject the 'ZTE_USB_Driver' disk from OS X, and run adb devices again the phone shows up as connected.
我花了半天时间尝试将我的各种 Android 设备连接到我的 MacBook Pro(运行 10.8.2)。事实证明是 Micro USB 数据线的问题。我有很多 Micro USB 数据线,但只有 Galaxy Nexus 随附的一根可以将手机连接到我的电脑。我不知道这是否是由于损坏或某些专有制造造成的,但请记住尝试使用随附的电缆连接手机。
I just spent half a day trying to connect my various Android devices to my MacBook Pro (running 10.8.2). It turns out to have been a Micro USB cable problem. I have many Micro USB cables, but only the one that came packaged with my Galaxy Nexus works to connect the phones to my computer. I don't know if this is due to damage, or some proprietary manufacturing, but please remember to try connecting the phone with the cable that was packaged with it.
我也有一个 Fascinate,并且不得不将手机的 USB 通信模式从 MODEM 更改为 PDA。使用:
输入**USBUI (**87284)
将USB和UART都更改为PDA模式。我还必须断开并重新连接 USB 电缆。一旦 Windows 再次重新识别该设备,“adb devices”就开始返回我的设备。
顺便说一句,如果您使用 CDMA Workshop 或同等产品,则需要将设置切换回 MODEM。
I have a Fascinate as well, and had to change the phone's USB communication mode from MODEM to PDA. Use:
enter **USBUI (**87284)
to change both USB and UART to PDA mode. I also had to disconnect and reconnect the USB cable. Once Windows re-recognized the device again, "adb devices" started returning my device.
BTW if you use CDMA workshop or the equivalent, you will need to switch the setting back to MODEM.
发布评论
评论(6)
尝试这样做:
adb Kill-server && adb start-server
(重新启动 adb)您也可以尝试编辑 adb 配置文件
.android/adb_usb.ini
并添加一行04e8< /code> 位于标题之后。需要重新启动 adb 才能使更改生效。
Try doing this:
adb kill-server && adb start-server
(that restarts adb)Also you can try to edit an adb config file
.android/adb_usb.ini
and add a line04e8
after the header. Restart adb required for changes to take effect.我有一台三星 Galaxy,我遇到了和你一样的问题。修复方法如下:
在 Windows PC 上的设备管理器中,即使可能显示 USB 驱动程序已正确安装,但也可能存在损坏。
我进入设备管理器并卸载了 SAMSUNG Android USB Composite Device,并确保选中“删除驱动程序软件”框。现在设备上会有感叹号等。我右键单击并再次安装驱动程序(刷新副本)。这最终让 adb 承认我的手机是模拟器。
正如其他人指出的,对于 Nexus 4,您还可以 尝试此修复。
I have a Samsung Galaxy and I had the same issue as you. Here's how to fix it:
In device manager on your Windows PC, even though it might say the USB drivers are installed correctly, there may exist corruption.
I went into device manager and uninstalled SAMSUNG Android USB Composite Device and made sure to check the box 'delete driver software'. Now the device will have an exclamation mark etc. I right clicked and installed the driver again (refresh copy). This finally made adb acknowledge my phone as an emulator.
As others noted, for Nexus 4, you can also try this fix.
我执行了以下操作,让我的 Mac 再次看到设备:
android update adb
adb Kill-server
adb start-server
At此时,调用
adb devices
再次开始返回设备。现在运行或调试您的项目以在您的设备上测试它。I did the following to get my Mac to see the devices again:
android update adb
adb kill-server
adb start-server
At this point, calling
adb devices
started returning devices again. Now run or debug your project to test it on your device.我有一部中兴 Crescent 手机(橙色 San Francisco II)。
当我将手机连接到 USB 时,OS X 中会显示一个名为“ZTE_USB_Driver”的磁盘。
运行
adb devices
显示没有连接的设备。但当我从 OS X 中弹出“ZTE_USB_Driver”磁盘并再次运行adb devices
后,手机显示已连接。I have a ZTE Crescent phone (Orange San Francisco II).
When I connect the phone to the USB a disk shows up in OS X named 'ZTE_USB_Driver'.
Running
adb devices
displays no connected devices. But after I eject the 'ZTE_USB_Driver' disk from OS X, and runadb devices
again the phone shows up as connected.我花了半天时间尝试将我的各种 Android 设备连接到我的 MacBook Pro(运行 10.8.2)。事实证明是 Micro USB 数据线的问题。我有很多 Micro USB 数据线,但只有 Galaxy Nexus 随附的一根可以将手机连接到我的电脑。我不知道这是否是由于损坏或某些专有制造造成的,但请记住尝试使用随附的电缆连接手机。
I just spent half a day trying to connect my various Android devices to my MacBook Pro (running 10.8.2). It turns out to have been a Micro USB cable problem. I have many Micro USB cables, but only the one that came packaged with my Galaxy Nexus works to connect the phones to my computer. I don't know if this is due to damage, or some proprietary manufacturing, but please remember to try connecting the phone with the cable that was packaged with it.
我也有一个 Fascinate,并且不得不将手机的 USB 通信模式从 MODEM 更改为 PDA。使用:
**USBUI
(**87284
)将USB和UART都更改为PDA模式。我还必须断开并重新连接 USB 电缆。一旦 Windows 再次重新识别该设备,“adb devices”就开始返回我的设备。
顺便说一句,如果您使用 CDMA Workshop 或同等产品,则需要将设置切换回 MODEM。
I have a Fascinate as well, and had to change the phone's USB communication mode from MODEM to PDA. Use:
**USBUI
(**87284
)to change both USB and UART to PDA mode. I also had to disconnect and reconnect the USB cable. Once Windows re-recognized the device again, "adb devices" started returning my device.
BTW if you use CDMA workshop or the equivalent, you will need to switch the setting back to MODEM.