When ADB won’t detect your Android phone…

The official instructions for using your Android phone for development are here:
http://developer.android.com/guide/developing/device.html

So you plugged your Android phone into your Windows machine having forgotten to switch on USB debugging…
Menu > Settings > Applications > Development > USB debugging

Then Windows detected your device as a USB-Mass storage device and won’t change the settings, regardless of how many times you uninstalled the device. Thread on it here.

This solution worked for me and didn’t require editing the registry settings (I don’t know if the reboot is unnecessary).

(1) Plugin phone
(2) Uninstall any drivers that mention “HTC Android Mobile USB Device”
(3) Unplug phone and restart
(4) Install and run USBDeview
http://www.nirsoft.net/utils/usb_devices_view.html
(5) Using USBDeview find the Android device (for some reason Windows hides uninstalled drivers instead of deleting them), right click on it and uninstall.
(6) Follow the official instructions to the letter this time.
http://developer.android.com/guide/developing/device.html

Happy developing.

18 Responses to “When ADB won’t detect your Android phone…”

  1. Tony S. Says:

    Thank you for your info. It worked like a charm.

  2. Caligula Says:

    You are number one!!!!

  3. David Says:

    At last a really working solution. Thank you very much!

  4. supenguin Says:

    Thank You! :)

  5. Neil Says:

    I had the same problem, but was able to fix it by going in to the Device Manager (MyComputer -> Properties -> Hardware), right clicking on the HTC device and selecting “Properties,” and reinstalling the driver from there.

  6. Barron Says:

    Thank you for this solution! This worked great.

  7. Sekhar Ravinutala Says:

    Thanks a bunch, worked on the MyTouch.

  8. bedla Says:

    it worked, thx

  9. aimetti Says:

    Didn’t worked, still have the problem, that I get after installing the drivers the failure “Windows cannot initialize the device driver for this hardware”. Yes I activated USB Debugging Mode -.-

  10. Georges Says:

    You saved me hours of head scratching, thanks !

  11. midtoad Says:

    Also, try a different USB cable! I struggled for quite a while, getting nowhere until I tried a different cable. Got connected immediately after that!

  12. Razvan Says:

    Omg !! I love you man. This worked like a charm ! I spent like 2 hours on this issue. :) Cheers to you !

  13. Chuck C. Says:

    You’re the man, worked great.

  14. Jasper L Says:

    Awesome - big thanks - worked purrfect

  15. Paul T Says:

    Took forever to find this page, but the solution worked like a charm. Thanks for posting it!

  16. absinthe Says:

    omfg didn’t work perfect but did work. You are the person.

  17. gear42 Says:

    works for me, much thanks! Only complaint is the SEO of this site. I wish I found it much earlier in my hours of searching for the solution ;)

  18. muttmentor Says:

    you may need to run USBDeview as an administrator to get it to remove the drivers

Leave a Reply


Geo Visitors Map