Debugging on my phone (Eclipse, Android)

I want to run and debug my Android apps on my HTC Incredible. At http://developer.android.com/guide/developing/device.html it says that I have to install the USB driver for Windows. And the instructions for this read:

"1. Connect the device on the Android device to the USB port of your computer. Windows will detect the device and start the hardware update wizard.

But he is not . When I connect my phone, it appears as a drive letter, and its SD card is visible as the second drive letter, and I can transfer files. But the hardware update wizard does not start. It is also not connected - if I go to the SDK tools directory and make "adb devices", it will be empty.

So what do I need to do to debug my phone? Thanks in advance!!

+7
android debugging
source share
3 answers

Android Simplicity contains some troubleshooting tips for installing the USB driver for Windows. If this does not help, try the steps below (which are incredibly specific to htc).

Finally, according to this forum , it seems that you might need to install HTC Sync in order to get debugging to work in Eclipse.

+4
source share

Have you turned on the device in debug mode? This can be found in the "Settings-> Applications-> Development" section.

+3
source share

Ryan's answer also helped me with this problem. For archival purposes, here is what I did:

Install the USB driver using the Android SDK Manager:

Install the USB Driver using Android SDK Manager

Find and edit android_winusb.inf according to the instructions http://www.flexjunk.com/2010/05/01/installing-htc-incredible-android-sd-drivers/ . The mine was located in C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver


Locate the section labeled [Google.NTx86]. At the end of this section, add the following lines.

 ; ;HTC Incredible %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01 

Find the [Google.NTamd64] section. At the end of this section, add the following lines.

 ; ;HTC Incredible %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01 

At your Incredible, go to Settings-> Applications-> Development and turn on USB debugging. NOW, you can connect your phone to a PC.

On your PC, open "Start" β†’ "Edit" - "My Computer" β†’ "Management"

You should see a device with a warning β€œOther-> ADB. Right-click on it and selectβ€œ Update software driver ”... Install the drivers manually and specify this in your usb_drivers folder. Ignore any warnings about unsigned drivers, and that's all should install only well. After installation, I see Android Phone-> Android Composite ADB Interface in the device manager.

+2
source share

All Articles