I can't connect my device Samsung Galaxy SII
to my pc. I'm using Windwos XP 32-bit Operating System. I've also installed Samsung Kies. And, in eclipse i've also change the run configurations to Manual
also. Why it's not connected. Anyone help me to connect that please? Advance Thanks.
问题:
回答1:
Yes exactly now as you want to start with android application development on your real device samsung galaxy SII, just go through this checkout steps:
- settings->Applications->Unknown sources
- Settings->Applications->Development->USB debugging
These 2 steps are necessary before starting development with real device.
回答2:
get the device "Hardware Ids" from the device manager and add them to the android_winusb.inf file in "...\android-sdk_r11-windows\android-sdk-windows\extras\google\usb_driver" like
; HTC Desire HD
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CA2&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CA2&REV_0226&MI_01
these are the values for htc desire hd,
UPDATE: the values for the galaxy sII are
; Samsung Galaxy S II
%SingleAdbInterface% = USB_Install, USB\VID_04E8&PID_685E&MI_03
%CompositeAdbInterface% = USB_Install, USB\VID_04E8&PID_685E&REV_0400&MI_03
回答3:
Un-check the USB debugging mode (from Settings - Development; if it's checked), and try to reconnect. Also, check that the Settings - Connect to PC is not set as default to "Charge Only", make sure to connect it as "Mass Storage" / "Disk Drive" initially.