Android Studio关于USB device not found的解决的方法

Posted mthoutai

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Studio关于USB device not found的解决的方法相关的知识,希望对你有一定的参考价值。

Android Studio关于USB device not found的解决的方法

我们使用android Studio进行Android开发时。当我们使用真机进行调试时。非常可能会出现USB device not found的问题。网上提出了非常多决解办法。非常多都是错误的。现给出正确的解决方法:

1. If yon don’t have Android SDK installed, please install it first.
2. Open Start menu. Select Android SDK Tools -> SDK Manager. Right-click on it and select “Run as Administrator”.

技术分享

Running SDK Manager as Administrator is very important. If you just click on it, the SDK manager will start, but will encounter errors when you try to install new components!

3. In the SDK Manager select “Extras->Google USB Driver”. Enable the checkbox and click “Install 1 Package”.

技术分享

4. When the Google USB driver is installed, plug in your device.

Warning: The driver won’t install automatically. We will do it manually in the next steps.

5. Open the System Properties dialog (press Win+Break on the keyboard or locate “Computer” in Start Menu, right-click on it and select “Properties”.

6. Click on the “Device Manager” link.

技术分享

7. In the Device Manager locate your Android device. Then right-click on it and select “Update Driver Software”.

技术分享

8. Select “Browse my computer for driver software”.

技术分享

9. Select “Let me pick from a list of device drivers on my computer”.

技术分享

10. Select “Show All Devices”.

技术分享

11. Press the “Have Disk” button.

技术分享

12. Enter the path to the Google USB driver. Normally it is located in the following directory:

C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver

技术分享

13. Select “Android ADB Interface” from the list of device types.

技术分享

14. Confirm the installation of the driver by pressing “Yes”.

技术分享

15. Confirm the installation again by pressing “Install”.

技术分享

16. When the installation is done, press “Close”.

技术分享


以上是关于Android Studio关于USB device not found的解决的方法的主要内容,如果未能解决你的问题,请参考以下文章

关于手机已经设置成开发者模式但是Android studio不能识别问题

"No target device found."——Android Studio真机测试中遇到的问题

Android studio 怎么使用单元测试(不需要device)

Android 3.1 USB-Host - BroadcastReceiver 不接收 USB_DEVICE_ATTACHED

Android Studio 连接真机调试

Android Studio连接小米手机