3

I am struggling to get past the "Pending Authorization" stage when trying to do some Remote Debugging with my Android phone and Chrome running on my PC.

I have successfully got past this "Pending Authorization" twice now, so I know it is possible. Also my PC can read the files on my phone as well, so the connection between them is sound.

The problem is the pop up on my phone asking for authorization rarely pops up, and when it does, allowing authorization rarely does anything.

These are the steps I have tried - all of this assumes that both my PC and Phone are on, they are not locked and they both have Chrome running on them.

  • Plug my phone into my PC via a USB cable
  • Almost immediately a "Use USB to transfer files" pop up appears on my phone, whether I ignore this pop up or tap OK or Cancel seems to make little difference to the problem I am having.
  • After a short while I then get the "Allow USB Debugging" pop up. In Chrome on my PC I can see under Remote devices that there is an "Unknown" device that is "Pending Authorization".
    • Ticking the box "Always allow from this computer" makes little difference, and my PC still complains that my device is "Pending Authorization"
  • If I hit OK what usually happens is very little, the pop up on the phone disappears and my PC/Chrome still shows "Pending Authorization".
  • Occasionally the phone and my PC connects, and I get past the "Pending Authorization" part. However this doesn't last long and I end up with "Debugging connection was closed. Reason: Connection lost." - however despite it saying "connection lost" here I can still connect to the files on my phone.

To reiterate - the connection between my phone and my PC seems stable and fine, I have no problems transferring files between the two.

The problem I am having is getting past this "Pending Authorization" stage - can anyone help?

Some details:

Phone: Nokia 3

Android: 8.0.0

Chrome (on Phone): 76.0.3809.132

PC: Windows 10

Chrome (on PC): 76.0.3809.132

5
  • Have you tried to make it work using ADB. Just check if the device is connected to the pc using ADB and you get a valid device-id when you run "adb devices" not unauthorized? Commented Sep 14, 2019 at 8:33
  • Have you tried changing USB cable or device? Commented Sep 17, 2019 at 9:57
  • @RahulKhurana I have tried various USB cables and 2 different Android phones - same results from both Commented Sep 17, 2019 at 15:44
  • @Jimmery Maybe try on the different USB ports. I never faced such issue on Windows and Mac Commented Sep 18, 2019 at 3:10
  • I have same problem. Only first time dialog pops up, and then I guess phone remembers it, but Chrome still asks for approval. Commented Dec 21, 2022 at 13:16

1 Answer 1

1
+100

You need to turn on usb debugging on your phone, otherwise you can not connect to your device. You can turn on usb debugging through the Developer options on your device.

Developer options is also something your have to turn on. You can accomplish this by following the steps explained on this page: https://developer.android.com/studio/debug/dev-options

Sign up to request clarification or add additional context in comments.

2 Comments

USB Debugging and Developer options are both on - if they weren't I wouldn't be getting the "Allow USB Debugging" pop up on my phone.
Your answer didnt help me sorry, - but the site has auto-awarded you the bounty - so enjoy the points, I guess you deserve them for being the only person who attempted to answer my question

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.