Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome remote connection connects but then drops out

I am really struggling to get Google Chrome Remote Debugging to work! I have the phone setup and confirmed:

enter image description here

Then below are what I see in chrome://inspect/#devices and also F12 (both open at the same time);

enter image description here

It flashes with the "Connected" for about 3 seconds, and then goes to:

Offline

ZX1G324RSV Pending authentication: please accept debugging session on the device.

It's driving me nuts, as it should be simple to do, but it just doesn't want to play ball :/ Do I need to do anything special? I've used it before on this PC and although I had some fun and games with it the first time around, it worked after that.

There seems to be a ton of posts/articles about how to fix it, but none of them are working for me. https://bugs.chromium.org/p/chromium/issues/detail?id=450492 for example.

like image 305
Andrew Newby Avatar asked Apr 10 '17 11:04

Andrew Newby


1 Answers

  1. Download Android SDK here ("SDK Tools Only" section) and unzip the content.
  2. Run SDK Manager.exe and install Android SDK platform tools
  3. Open up the Command prompt (simply by pressing the windows button and type in cmd.exe)
  4. Enter the path with ex: cd c:/downloads/sdk/platform-tools
  5. Open ADB by typing in adb.exe
  6. Run the following command by typing it and pressing enter: adb devices
  7. Check if you get the prompt on your device, if you still can't see your phone in Inspect Devices run the following commands one by one (excluding the ") "adb kill-server" "adb start-server" "adb devices"
like image 147
Matin Avatar answered Jan 02 '23 11:01

Matin