0

Eclipse 无法检测到我的手机 xperia C2004 设备。我已经安装了索尼 PC 伴侣。PC 伴侣检测到我的手机,我可以传输媒体。

- 我已经在我的设备上启用了调试模式。-USB 连接模式为大容量存储模式 (MSC)。- 在 cmd 中运行 adb devices 不会显示我的设备。- 在设备管理器中,其他设备选项只显示 Android - 在便携式设备中,我的手机出现了。

我已经完成了上述所有操作,但仍然无法在 eclipse 上检测到设备

4

1 回答 1

0

I've had this before (quite a few times) - There's a nack to it! What you'll need is some kind of usb device listing program, something like "lsusb". Then:

  1. Run lsusb in a command prompt (It'll output something like below):

    C:\Users\Loki\Downloads\lsusb>lsusb lsusb VendorID:046d ProductID:c05b
    "USB Input Device" "Logitech" "USB Optical Mouse"

  2. Get the vendor id from the output, for your device.

  3. Next, navigate to: "C:\Users\.android" (I'm presuming a windows environment, sorry)
  4. Inside there you may/may not a file called: adb_usb.ini (if not, create it, it's fine). If you do have it, open it up.
  5. Inside this file you need to ensure that each vendor ID (for problematic devices) is listed on a newline: So once, you've got your vendor id, type: 0xVENDORID (so in my case it would be: 0x046d and save the file.

After that you should be good. This works for me all of the time, but I have heard of some other odd devices that wont be seen even after this either. Hopefully this helps you out!

于 2014-08-26T16:07:58.707 回答