Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio can't find my device

When i try to compile on Android Studio i got this message:

USB device not found

My phone is a HTC one X with CyanogenMod 10.1.3-RC2

  • i have HTC Sync Manager V2.1.77.0 installed but when i try to connect my HTC my computer didnt recognize my Phone

  • The USB Debug is Check

  • When i type adb devices i got no device.

  • in device Manager on windows The Android USB Devices is recognize

    enter image description here

  • I have already try to adb kill-server then adb start-server and a adb devices but this didn't work

someone have any advice ?

Thanks a lot.

like image 273
florian-do Avatar asked Sep 24 '13 16:09

florian-do


1 Answers

I found a solution for this,

find the id of your device in the device manager

like USB\VID_XXXXPID_0CD6&REV_XXXX&MI_00

and add this to your android_winsub.inf ( sdk\extras\google\usb_driver )

like this:

[Google.NTx86]

;YOUR PHONE NAME
%SingleAdbInterface%        = USB_Install, USB\VID_XXXXPID_XXXX&REV_XXXX&MI_00
%CompositeAdbInterface%     = USB_Install, USB\VID_XXXX&PID_XXXX&MI_00

[Google.NTamd64]

;YOUR PHONE NAME
%SingleAdbInterface%        = USB_Install, USB\VID_XXXXPID_XXXX&REV_XXXX&MI_00
%CompositeAdbInterface%     = USB_Install, USB\VID_XXXX&PID_XXXX&MI_00

And try to reinstall with right click update the driver.

like image 96
florian-do Avatar answered Oct 02 '22 13:10

florian-do