问题描述
当我尝试编译Android上的工作室我得到这个消息:
When i try to compile on Android Studio i got this message:
没有发现USB设备
我的手机是HTC的一个X与的CyanogenMod 10.1.3-RC2
My phone is a HTC one X with CyanogenMod 10.1.3-RC2
- 我已经安装了HTC Sync Manager中V2.1.77.0但是当我试图连接我的HTC在我的电脑没有认可我的电话
- 的USB调试是检查
- 当我输入ADB设备我没有设备。
-
在设备管理器在Windows上Android的USB设备是识别
- 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
我已经尝试ADB杀服务器然后亚行启动服务器和ADB设备,但并没有工作
I have already try to adb kill-server then adb start-server and a adb devices but this didn't work
一个人有什么建议?
非常感谢。
推荐答案
我找到了一个解决方案,
I found a solution for this,
找到你的设备的ID在设备管理器
find the id of your device in the device manager
像USB \\ VID_XXXXPID_0CD6&放大器; REV_XXXX&安培; MI_00
like USB\VID_XXXXPID_0CD6&REV_XXXX&MI_00
和添加到您的android_winsub.inf(SDK \\演员\\谷歌\\ usb_driver)
and add this to your android_winsub.inf ( sdk\extras\google\usb_driver )
是这样的:
[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.
这篇关于Android Studio中找不到我的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!