Can't debug Android: This device cannot start. (Code 10)
I have a brand new Nexus One. I'm trying to follow the directions for installing the USB driver. When I plug in the device, it doesn't start the New Hardware Wizard, as the documentation suggests. I can run hdwwiz.exe to launch it and manually install the driver, but when I do, Device Manager says: "This device cannot start开发者_如何学JAVA. (Code 10)"
What am I doing wrong here?
Duh. I forgot to enable "USB Debugging" in Settings -> Applications -> Development. As soon as I did that, the New Hardware Wizard appeared and installation went smoothly.
If you are on Windows you also have to install drivers. If you for example have a HTC those drivers are included in the HTC sync software.
精彩评论