简体   繁体   中英

Native USB Debugging on Chrome 32 doesn't detect device

I have a Samsung Galaxy S3. With the release of Chrome 32, I wanted to try the native usb debugging so I could work with my phonegap apps while they're on my phone (rather than browser testing then transferring). I turned on USB debugging and downloaded the appropriate driver. My phone shows up in device manager but it doesn't show up under about:inspect on chrome. How do I get my device to show up?

I had a similar issue. I was previously able to inspect my phone using DevTools and the ADB extension. After the Chrome update where the ADB extension was deprecated my phone would no longer appear in chrome://inspect/ not matter what I tried.

What fixed the issue for me:

  1. Download the Android SDK
  2. Locate ADB.exe, found in the platform-tools folder.
  3. Open the file using command prompt

    cd c:\\path\\to\\platform-tools\\adb.exe

  4. Make sure your phone is disconnected from USB

  5. Type the following commands

    adb devices

    adb kill-server

    adb start-server

  6. Reconnect your phone, authorise your PC and enjoy the USB debugging

Hopefully that helps someone else.

I found the solution. I'd never run ADB before but that's what Chrome uses for debugging (not sure if it was downloaded when I downloaded the dev kit or if it came with Chrome 32).

From the command line I ran, adb devices. Got the message "daemon not running. starting it now on port 5037". Once it started, my device showed up in Chrome! If you haven't downloaded the android dev kit you may have to do that first.

您需要Android Beta(v32)上的Chrome才能在没有ADB的情况下执行此操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM