Google Chrome Developer Tools : Android Debugging returns HTTP/1.1 404 Not Found. Why?

前端 未结 13 1245
耶瑟儿~
耶瑟儿~ 2020-12-28 12:41

This was working fine up until yesterday. Now when I connect my Android device for USB Debuggers. Chrome is no longer display my app.

Now the popup window shows HTT

相关标签:
13条回答
  • 2020-12-28 13:38

    This problem just showed up on the latest released version of Chrome 72.0.3626.76 (will they ever add a regression test?).

    None of these answers were completely satisfying.

    • I was stuck with the same version on both Android and my desktop so "inspect fallback" is not showing on the UI.
    • I tried to uninstall chrome from Android but that option is not available in Android 8.1?

    Here is how you can workaround those issues and get back to debugging.

    Workaround:

    The objective of this workaround is to get the desktop version different than the device version so that you can see the inspect fallback option.

    1. disable chrome updates. Instructions for Windows
    2. uninstall latest Chrome on desktop.
    3. install previous version: e.g. 71.0.3578.80 (using slimjet)
    4. Open chrome://inspect/#devices url and choose inspect fallback instead of inspect.

    Debugging restored!

    Workaround 2:

    As Asaf points out in the comments another way to get the versions to be different is to use the EDGE browser which is now based on Chromium. As long as the versions are different then the inspect fallback option should show up.

    PS: I think this bug is still active in the canary channel so it may be a while before it gets fixed.

    Here is the chromium bug.

    UPDATE 3/6/2019

    Looks like this is fixed again on version 72.0.3626.121 (maybe earlier builds)

    0 讨论(0)
提交回复
热议问题