Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save oskarrough/a0ad2eb145fdca468e408958bb4f18fb to your computer and use it in GitHub Desktop.
Save oskarrough/a0ad2eb145fdca468e408958bb4f18fb to your computer and use it in GitHub Desktop.
Chrome Remote Debugging from Windows 10 to Android

My Windows 10 wouldn't recognize my phone. After using adb it now works. Here's how.

  • Connect your Android phone via USB
  • When it asks what to connect as, choose "Camera (PTP)"
  • Open Google Chrome and the webpage you want to test
  • Open Chrome Developer Tools and find the "Remote Devices" tab

Now, your phone might or might not appear in this tab.
On my OS X and Fedora, it did. On Windows I had to get Android Debug Bridge ("ADB"):

  • Download ADB for Windows here: https://developer.android.com/studio/releases/platform-tools.html
  • Open PowerShell ("Ubuntu for Bash" or Hyper did not work for me in this case)
  • Navigate into the ADB folder you just downloaded
  • Run .\adb.exe devices to see if your device is connected
  • If not, run .\adb.exe kill-server followed by .\adb.exe start-server
@jeromeetienne
Copy link

Thanks a bunch! after 2h of troubleshooting, this is your tutorial, especially the 'adb' install, which unblocked me. Thanks again.

@oskarrough
Copy link
Author

After two years as a lonely gist, it finally helped someone. Haha, happy to hear it!

@rjgferreira
Copy link

Two days of lost time... Until now! Thanks a lot!

@ValdiANS
Copy link

Really helpful... Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment