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

耗尽温柔 提交于 2019-11-30 14:37:35

问题


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 HTTP/1.1 404 Not Found.

Looks to be connecting fine and the app runs fine on my Mobile Device.


回答1:


Solution was to access through chrome://inspect/#devices

Then select the "Fallback" option.

This is because the remote browser was newer than the client browser……




回答2:


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:

  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!

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)




回答3:


I did not have a fallback option at chrome://inspect/#devices, but I was able to fix it by uninstalling chrome updates on my Android device, as this is caused by the most recent update for android's chrome.

Go to Chrome's App Info, press the 3 dots in the top right corner and then click uninstall updates.




回答4:


I have suffered this problem, cause the Google API has been blocked. If you are in mainland China, the GFW may be the reason. So, using VPN may helpful.




回答5:


Open https://chrome-devtools-frontend.appspot.com. If it returns 502, then it is maybe a host error.




回答6:


Got around this by disabling Chrome on my phone, the latest version has a bug. This forces your app to use the webview version that shipped with your phone.




回答7:


i have updated to the latest desktop chrome version and now it works. not having white screen anymore. my current version : Version 73.0.3683.75 (Official Build) (64-bit).

i forgot to note down my previous version so i can't




回答8:


I uninstall chrome in my movil and work ok..the problem is the last update chrome in android




回答9:


I found a solution. Don't need to downgrade you Chrome version. just remove a plugin. This plugin is for the VPN proxy. Yes. Maybe the issue is caused by a plugin.




回答10:


Use VPN in both mobile and your computer.

It is maybe because of google restricted this feature in your country.




回答11:


I had the same problem. I had to reset the phone to factory defaults. now working. Android 6



来源:https://stackoverflow.com/questions/51519636/google-chrome-developer-tools-android-debugging-returns-http-1-1-404-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!