24
votes

I've followed the instructions at google: https://developer.chrome.com/devtools/docs/remote-debugging. I've also went over the troubleshooting section - but nothing seems to work.

I have samsung galaxy 3 (android 4.1.2, chrome 42.0.2311.111). USB debugging enabled. I've tried restarting the device after ticking the USB debugging a few times.

On windows 8 I run chrome (44.0.2388.0 canary). I've installed Samsung USB Driver, and my computer can see my device.

I do not get any notification when plugging the device nor when opening canary with the inspect page. Did I miss anything?

5
if you open the command prompt and execute adb devices, your device is listed?Mattia Maestrini
I do not have "adb", so I get "adb is not recognized...". it's written all over the place the adb is now a part of chrome... do I need to install anything beyond chrome?yccteam
No, you don't need it to debug with Chrome. It's only a fast way to check if your pc correctly see your device. If you open Device manager in Windows, with your device connected, every peripheral is correctly installed?Mattia Maestrini
Yea - I've checked the Device Manager and it says that the driver is up to date etc.yccteam
I can see the device in windows device manager. I can browse the files. I can do everything one wants with the phone - except remote debugging - chrome just don't recognize it.yccteam

5 Answers

52
votes

Try these steps:

  • Download and install Android SDK
  • Open SDK Manager.exe
  • Select Android SDK Platform-tools and press Install packages...
  • Open a command prompt and execute these commands:
    • cd C:\Program Files(x86)\Android\android-sdk\platform-tools (or C:\Users\User\AppData\Local\Android\Sdk\platform-tools)
    • adb.exe devices

You should receive a response like this:

List of devices attached
ABCDEFG123  device

If your device is listed check if Chrome detect the device, otherwise try to execute this command:

  • adb.exe kill-server
  • adb.exe start-server
  • adb.exe devices

Check again if Chrome detect the device.

If your device is not listed at all after executing adb devices command there is something wrong in your configuration (e.g. incorrect or missing drivers?)

7
votes

Hope this helps somebody else...

This happened to me because I was trying to Chrome inspect a release build (Ionic; i.e. ionic build android --release). If I build a debug app (ionic build android), I am able to see the app from the chrome inspection tool without any issues.

Google play does not like debugable apps https://developer.android.com/studio/publish/index.html which is needed for the inspection - see this SO link: debugging an ionic app for android platform hence proper releases won't appear in the Chrome inspection.

7
votes

In my case the problem was solved changing the usb connection mode in the settings of the Android device to "Camera (PTP)" . For some reason the usb debbuging did not work when connection mode was set to MTP.

1
votes

This looks like a bug in Chrome or in Android. This helped me: on your android device select USB connection settings (popup which is open on cable connect). It has MTP/PTP/charge modes. Switch between MTP/PTP and back.

-2
votes

Download and install Android SDK

Open SDK Manager.exe

Select Android SDK Platform-tools and press Install packages...

MTP -> PTP