Eclipse: Android Device Chooser - Unknown Android 2.3.4 Device

前端 未结 8 1868
栀梦
栀梦 2020-12-15 04:38

I have a Nexus One phone running Android 2.3.4. I am trying to build an application using the USB open accessory library. To do this I have selected Google APIs 10 as the Bu

相关标签:
8条回答
  • 2020-12-15 05:29

    Tried all above none worked .. finally worked when I switch connected as from MTP to Camera(PTP).

    0 讨论(0)
  • 2020-12-15 05:35

    It also might be that there is no USB vendor ID for the Nexus One where The Nexus One shows up as “?????????” in adb/Eclipse. So if you want it to recognize then you have to follow these steps:

    1.  Follow the instructions at  http://developer.android.com/guide/developing/device.html
    2.  Replace the vendor id of “0bb4″ with “18d1″ in /etc/udev/rules.d/51-android.rules. 
        Or add another line that reads:
            SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
    3. restart computer or just "sudo service udev restart"
    
    0 讨论(0)
提交回复
热议问题