7

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

"1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard"

But it doesn't. When I connect my phone it's visible as a drive letter and its SD card is visible as a second drive letter and I can transfer files. But Hardware Update Wizard doesn't launch. Nor is it already connected - if I go to my SDK tools directory and do "adb devices" it returns blank.

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

Peter Nelson
  • 5,917
  • 17
  • 43
  • 62

3 Answers3

4

Android Simplicity has some tips for troubleshooting the installation of the Windows USB driver. If that doesn't help, try following the steps laid out here (which are specific to htc incredible).

Finally, according to this forum, it seems that it may be necessary to install HTC Sync in order to get debugging to work in Eclipse.

Adam S
  • 16,144
  • 6
  • 54
  • 81
Ryan Berger
  • 9,644
  • 6
  • 44
  • 56
  • I apologize for not making it clear that I'm using XP, SP3 - the FlexJunk page is for Windows 7. The Android Simplicity one implies at the beginning that I need to install the drivers to transfer files to/from the phone. But I can do that now. However the phone doesn't show up as an adb device, which is why I don't think they're installed. – Peter Nelson Oct 28 '10 at 01:03
  • See my update. It looks like HTC Sync might be the missing piece of the puzzle. – Ryan Berger Oct 28 '10 at 01:14
  • I SPOKE TOO SOON! The FlexJunk page started off talking about Win7, but it also has a hack for the android_winusb.inf file for XP and that hack fixes the problem! – Peter Nelson Oct 28 '10 at 03:15
  • What happened to the post that suggested the FlexJunk link? I want to mark it as the answer but it's gone! – Peter Nelson Oct 28 '10 at 03:17
3

Did you put your device into debug mode? This should be found under Settings-> Applications->Development.

Eric Levine
  • 13,536
  • 5
  • 49
  • 49
2

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

Install the USB Driver using Android SDK Manager:

Install the USB Driver using Android SDK Manager

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


Find the section labeled [Google.NTx86]. At the end of that 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 section [Google.NTamd64]. At the end of that 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

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

On your PC, Go to Start->Right-Click My Computer->Manage

You should see a device with a warning on it called Other->ADB. Right-click it and choose Update Driver Software… Install the drivers manually and point that to your usb_drivers folder. Ignore any warnings about unsigned drivers and everything should install just fine. After installation, I see Android Phone->Android Composite ADB Interface in the Device Manager.

Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
  • If you're using Windows 7 or Vista you may have to use the following Device Manager options if the INF file is not found when you choose the `usb_drivers` folder. Go to, Install Manually, then List Drivers, choose All Devices, then click Have Disk, choose the INF file. – CatShoes Feb 24 '13 at 17:27