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

這里寫圖片描寫敘述


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM