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

AndroidGoogle ChromeGoogle Chrome-Devtools

Android Problem Overview


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.

enter image description here

Android Solutions


Solution 1 - Android

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.

Solution 2 - Android

Use VPN in both mobile and your computer.

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

Solution 3 - Android

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)

Solution 4 - Android

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.

Solution 5 - Android

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 be helpful.

Solution 6 - Android

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

Solution 7 - Android

In my case it was because port 8080 was not enabled

  1. open link chrome://inspect/#devices
  2. select "Port Forwarding"
  3. add "localhost:8080"

Port Forwarding

Solution 8 - Android

Just turn on your VPN if you are in a restricted country.

And don't tunnel your whole device so you can debug your web app over the network. Just use a chrome extension VPN.

Solution 9 - Android

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.

Solution 10 - Android

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

Solution 11 - Android

Solved the issue uninstalling Chrome updates on my phone by following answer above: pressing the 3 dots in the top right and then clicking uninstall updates.

Solution 12 - Android

Another solution is to use Chrome Beta instead of Chrome on your mobile device. It has the Inspect Fallback option on version 97.0.4692.20

Solution 13 - Android

For many people who still having this issue, if you are in your company's VPN/ Network try to connect directly to the internet and it will work. For me it happened that our IP address were blocked by Google and any of google services were accessible.

Solution 14 - Android

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

Solution 15 - Android

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.

Solution 16 - Android

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAdam HarkusView Question on Stackoverflow
Solution 1 - AndroidAdam HarkusView Answer on Stackoverflow
Solution 2 - Androidbehnam shateriView Answer on Stackoverflow
Solution 3 - AndroidBruceJoView Answer on Stackoverflow
Solution 4 - AndroidMansView Answer on Stackoverflow
Solution 5 - AndroidCheng.LeeView Answer on Stackoverflow
Solution 6 - AndroidEgos ZhangView Answer on Stackoverflow
Solution 7 - AndroidJunView Answer on Stackoverflow
Solution 8 - AndroidAbdulrahman HashemView Answer on Stackoverflow
Solution 9 - AndroiddavywwView Answer on Stackoverflow
Solution 10 - AndroidcumibulatView Answer on Stackoverflow
Solution 11 - AndroidLuma MacagnanView Answer on Stackoverflow
Solution 12 - AndroidRobin ClowerView Answer on Stackoverflow
Solution 13 - AndroidSOFView Answer on Stackoverflow
Solution 14 - AndroidJuan Pablo Perez GView Answer on Stackoverflow
Solution 15 - AndroidblueRa1nView Answer on Stackoverflow
Solution 16 - AndroidDarshana HettiarachchiView Answer on Stackoverflow