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
Tried all above none worked .. finally worked when I switch connected as from MTP to Camera(PTP).
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"