I cannot seem to get the DevTools Devices feature to work on my Samsung Galaxy S4 even after following the steps outlined at https://developers.google.com/chrome-developer-tools/docs/remote-debugging
My device has Chrome v32 and Chrome Beta v33, while my PC has Chrome v33 and Chrome Canary v35.
USB debugging is enabled on my device and device driver has been installed. I have never got the prompt as outline in step 3 from the above link to approve the RSA key fingerprint yet the device does connect to my PC to allow media transfer. I have even revoked all USB debugging authorizations as per the link above.
I don't have any thing extra installed on my PC for Android development which may perhaps be the issue. I wish to utilise this feature to inspect web pages from the devices point of view.
Go to chrome://inspect#devices . Make sure that the Discover USB devices checkbox is enabled. Connect your Android device directly to your development machine using a USB cable. Your Android device may ask you to confirm that you trust this computer.
Android 9 (API level 28) and higher: Settings > System > Advanced > Developer Options > USB debugging. Android 8.0. 0 (API level 26) and Android 8.1. 0 (API level 26): Settings > System > Developer Options > USB debugging.
# Open the Issues tab Open DevTools. Click the Go to Issues button in the yellow warning bar. Alternatively, select Issues from the More tools menu. Once you're on the Issues tab, click the Reload page button if necessary.
To get the functionality up and running:
adb.exe
(might need to start and stop ADB using adb kill-server
and adb start-server
)about:inspect
in Chrome on desktop, ensuring a Chrome browser is open on your deviceFollowing the above steps I got the RSA key fingerprint prompt to accept then I saw my device in Chrome.
Definitely not as easy as I thought it would have been but at least it now works.
Update 24 February 2016
So I updated to Windows 10 and now have a Samsung Galaxy S5, devices running Chrome v48.0.2564.116 m and v48.0.2564.95 respectively. Followed the steps from the Google docs and...it didn't work again, no RSA key prompt. So I began to follow my steps as above and thought there had to be a faster way as the Android SDK was over 1GB download.
This time I tried:
C:\Program Files (x86)\Minimal ADB and Fastboot\
adb devices
(alternatively I could have run adb start-server
but the prior gives a more informational response)Now, with Chrome open on my phone and chrome://inspect/
open on my desktop I can see the inspect options.
Next problem: I need to repeat the same steps each time I reboot Windows. To solve that issue:
"C:\Program Files (x86)\Minimal ADB and Fastboot\adb" devices
adb.bat
in the Windows Startup folder located at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
Note that the file does NOT need to be called adb.bat as long as it is a .bat file. The command you copied into the file has the default install path which you may need to alter for your set up.
Now I have the Chrome Inspect feature working when I need it.
Bit thanks and shout out to all others who have contributed their answers to this question which helped guide me towards a useful update to my answer. Please give credit to other answers where you find they have helped you too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With