Yesterday I was trying to write an application for my Nexus 5 and stuck when adb shown me empty list of connected devices. What to do?
- Install Google USB driver (read about driver here)
- Enable Developer Options for your Android device. Usually you need to tap about 10 times in "Settings - About Phone" on "Android Version" item.
- Plug in USB cable into your device and check "adb devices" output
- If you see empty output, open Device Manager in Control Panel, right-click "Android ADB Interface" and delete. When dialog asks, check the "Delete drivers for this device" and hit "OK". It must look like this:
- Unplug your device.
- Reinstall Google USB driver.
- Plug in USB cable into your device.
- On my Nexus 5 there was confirmation prompt for USB debugging. Allow to debug.
- Happy coding!
Комментариев нет:
Отправить комментарий