Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging on my phone (Eclipse, Android)

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!!

like image 539
Peter Nelson Avatar asked Oct 27 '10 23:10

Peter Nelson


2 Answers

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.

like image 155
Ryan Berger Avatar answered Oct 07 '22 08:10

Ryan Berger


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

like image 40
Eric Levine Avatar answered Oct 07 '22 07:10

Eric Levine