Android Studio 找不到我的设备 [英] Android Studio can't find my device

查看:64
本文介绍了Android Studio 找不到我的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Android Studio 上编译时,我收到此消息:

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

未找到 USB 设备

我的手机是带有 CyanogenMod 10.1.3-RC2 的 HTC one X

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

  • 我安装了 HTC Sync Manager V2.1.77.0,但是当我尝试连接我的 HTC 时,我的电脑无法识别我的手机

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

USB 调试正在检查

当我输入 adb devices 时我没有设备.

When i type adb devices i got no device.

在 Windows 的设备管理器中识别 Android USB 设备

in device Manager on windows The Android USB Devices is recognize

我已经尝试 adb kill-server 然后 adb start-server 和 adb devices 但这没有用

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

有人有什么建议吗?

非常感谢.

推荐答案

我找到了解决方案,

在设备管理器中找到您设备的 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\extras\google\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 找不到我的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆