简体   繁体   中英

How to connect a HTC android phone to the pc as debugging device

I'd like to connect a HTC Desire to the pc ONLY as debugging device. Every time I plug the cable in it searches for the HTC Sync software on the pc, and it takes a looong time until finally a message appears on the phone like "no HTC Sync found, ... please install...". After that, the phone is available to eclipse for debugging. But how can I avoid that everlasting searching process?

Below is copied from this page . Works for me very well. Just remember to follow procedure described at Android documentation how to connect devices for debugging.

The HTC desire works with the v3 version of the ADB drivers - no HTC Sync installation needed. Add these lines to android_winusb.inf:

[Google.NTx86] ;HTC Desire %SingleAdbInterface% = USB_Install, USB\\VID_0BB4&PID_0C87 %CompositeAdbInterface% = USB_Install, USB\\VID_0BB4&PID_0C87&MI_01

[Google.NTamd64] ;HTC Desire %SingleAdbInterface% = USB_Install, USB\\VID_0BB4&PID_0C87 %CompositeAdbInterface% = USB_Install, USB\\VID_0BB4&PID_0C87&MI_01

Try to select "Charge only" connection mode as default for you device. Right now it looks like you've selected something to sync by default.

Settings -> Connection to PC -> Default connection type

在Android 2.2中它的设置 - >应用程序 - >开发 - > USB调试(启用)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM