Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
458 views
in Technique[技术] by (71.8m points)

android - Chrome remote debug Samsung Galaxy s4

I tried to use the remote debugging tool of Google Chrome for my Samsung Galaxy S4 (https://developers.google.com/chrome-developer-tools/docs/remote-debugging?hl=nl). But my Chrome does not found my device after i used about:inspect. The list stays empty.

I already install the newest driver on my computer and both devices running Chrome version 32. On my phone the USB debugging checkbox is checked.

Does someone know what i can do to view my phone trough Chrome debugging?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Do you have ADT (Android Development Toolkit) installed? If so, you may have to restart the ADB server. Follow these steps: (from this answer).

  1. Open a command prompt (Win+R, "cmd.exe", Enter)
  2. Go to the platform-tools directory of your locally installed ADT. In my case:

    cd /d D:appsadt-bundle-windows-x86_64-20131030sdkplatform-tools
    
  3. Restart the ADT server by running the following commands:

    adb.exe kill-server
    adb.exe start-server
    
  4. Now observe that your tablet will ask for remote debugging permission (by checking a fingerprint) upon connection.

  5. The device should now be found if you open chrome://inspect.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...