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”.

更多相关文章

  1. Android(安卓)INSTALL_FAILED_INSUFFICIENT_STORAGE 调试错误的
  2. Android(安卓)framework 编译常见错误
  3. Unable to start activity ComponentInfo
  4. 请教Android内置应用Browser编译成APK的问题
  5. appium 调试问题--UiAutomator died while responding to comman
  6. mono for android读书笔记之真机调试
  7. Android4.0模拟器“谷歌输入法已停止运行”错误解决办法
  8. android 程序运行出现错误 Unable to execute dex: java.nio.Buf
  9. 用gdb调试 android webkit

随机推荐

  1. Android(安卓)addJavaScriptInterface
  2. Android/java 多线程(五)-ThreadPoolExec
  3. Android NDK: WARNING: APP_PLATFORM and
  4. Android MVC模式
  5. Android动态显示具体到秒的相聚时间
  6. android基本概念
  7. Flutter跟Android交互
  8. Android Kotlin TextView跑马灯效果
  9. 关于Android studio Gradle 实现多渠道打
  10. Android属性系统