[android] ADB not recognising Nexus 4 under Windows 7

I had to resort to a clean install of Windows 7 x64 to fix this issue.

I tried all steps/variants in the other answers. No luck. Device Manager would show my 'Android Device / Android Composite ADB Interface' working properly with the 7.0.0.1 driver from Google, but nothing could get 'adb devices' to show my Nexus 4.

I used USBDeview to uninstall every USB device that had connected to my computer except my keyboard and mouse. No luck.

I enabled 'Show hidden devices' in Device Manager and uninstalled anything related to USB. No luck.

I added Google's vendor ID to adb_usb.ini. No luck. I deleted adb_usb.ini and ran 'android update adb'. No luck.

I brought my Nexus 4 to my brother's apartment to confirm it wasn't faulty. Worked on his machine without a hiccup.

I'm glad the clean install worked, because further troubleshooting was going to require swapping motherboards or buying a MacBook.

Boy, that escalated quickly.