Debugging on my phone (Eclipse, Android)

前端 未结 3 829
忘了有多久
忘了有多久 2020-12-11 17:29

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 drive

相关标签:
3条回答
  • 2020-12-11 17:58

    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.

    0 讨论(0)
  • 2020-12-11 18:17

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

    0 讨论(0)
  • 2020-12-11 18:22

    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.

    0 讨论(0)
提交回复
热议问题