I have just bought a new brand-new Samsung S10+ mobile device and then I wanted to do a remote debugging from Chrome but nothing seems to work from my windows 10 machine. I had used other Android devices and worked very well but since this was a new device I was thinking that there is something wrong with the software that is installed on my computer. So, I decided to take it step by step on upgrading everything: android mobile, usb driver, update java, update sdkmanager etc. All the steps are described in this blog with a step by step.
Despite the fact that I followed all the steps to enable the USB debugging, still the popup window from Chrome remote debugging didn’t showed the connected device.
The normal steps that I followed can be found on a simple Google Search and are the following:
– Open Settings and find “Developer Options”
– Under Settings option, select About phone, then choose Software Information
– tap build number several times until you see a pop-up message that says “Developer mode has been enabled”
– Tap on Back button to return and you will see the Developer options menu under Settings.
– Click on Developer options. Slide the “Developer Options” button to “On”.
– Then scroll down the screen and turn on “USB debugging”. You will see a messages “Allow USB Debugging”, click “OK”.
Again, I connected the USB cable, I was able to transfer files, I was able to connect with Samsung DEX but I had no remoting capabilities from Chrome Remote Debugging. Also I noticed that I was not able to see the pop-up message with “Authorize USB debugging dialog box”. That was quite strange, since on all my previous devices I was able to see this dialog box.
STEP 1. – Update USB driver
First, I wanted to make sure that the driver used is the latest version. All I had to do is to download and install the latest version from here:
STEP 2 – Update JAVA
Then I had updated the JVA environment and I was able to do that from the official web site.
STEP 3 – Update the environment variable JAVA_HOME
That was something that is required later on by the Android SDK Manager. Steps to do that are:
– in windows 10 search for “environment variables”
– click on “Edit the system environment variables”
– click “Enviroment variables”
– click on NEW
– on variable name type JAVA_HOME
For variable name you have to check what is the path from your system from the following folder: c:\Program Files (x86)\Java\
In my case the value for the variable name was this:
C:\Program Files (x86)\Java\jre1.8.0_231
Please check the screenshot below:
STEP 4 – download SDK tools for windows from developer.android.com
Navigate to the following web address:
At the bottom of the page download SDK Tools for windows.
Extract the zip file and open command prompt in Administrator mode
STEP 5 – use the sdkmanager.bat to download and install ADP utility.
Identify in the list the platform-tools and run the following command:
Search for the ADP.EXE and you will find it in the folder named “platform-tools”
Run the command with the following option:
And I had the status of the device with “unauthorized”
Disconnect the USB cable and connect again and the pop-up now is displayed on the mobile to allow USB Debugging.
Then I was able to do remote debugging on Chrome, and I was able to see all the browser instances.