Google Chrome Developer Tools : Android Debugging returns HTTP/1.1 404 Not Found. Why?
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.
Solution was to access through chrome://inspect/#devices
Then select the "inspect fallback" option.
This is because the remote browser was newer than the client browser.
Use VPN in both mobile and your computer.
It is maybe because of google restricted this feature in your country.
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.
- disable chrome updates. Instructions for Windows
- uninstall latest Chrome on desktop.
- install previous version: e.g.
71.0.3578.80
(using slimjet) - Open
chrome://inspect/#devices
url and chooseinspect fallback
instead ofinspect
.
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)
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.