After running into issues with the instructions on the official Google page for Remote Debugging, I had to do some sleuthing to figure out how to make Windows 8 run remote debugging of my Nexus 7.
The trick (as usual) is drivers. If you’re running the “adb devices” command and coming up with no devices, or perhaps you’re running the full “adb forward tcp:9222 localabstract:chrome_devtools_remote” and getting “Device not found”, even after typing in “adb kill-server” … then you’re in the right place.
- Plug in your Nexus 7 and follow the instructions on the official Google page for Remote Debugging. Basically download and extract the Android SDK, set up your device for USB debugging, and set up Chrome for web debugging
- In Windows 8, right click in the bottom left side of the screen (where the “Start” button used to be). Click “Device Manager”.
- You should see a Nexus driver with a warning triangle like this
- Click “Update Driver”, and select “Browse my computer for driver software”.
- Find the folder where you installed the Android SDK and choose the folder: /sdk/extras/google/usb_driver. Make sure you keep “Include subfolders” checked.
- Your drivers should be successfully installed
- Now go to command line and run “adb kill-server” followed by “adb devices” and you should see your Nexus like so:
Hope that helps you along. Happy debugging,