facebookarchive / stetho

Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.
http://facebook.github.io/stetho/
MIT License
12.66k stars 1.13k forks source link

Windows cannot be displayed after chrome update #697

Closed jiantao88 closed 3 years ago

jiantao88 commented 3 years ago

image When I click the inspect button, the window opens to show that this is the way that network data packet capturing is not possible

There is a problem with just updating chrome. There is no problem without updating chrome image

hansinator85 commented 3 years ago

Since latest Chrome update it is absolutely unusable. Please prioritise this issue.

jgavazzisp commented 3 years ago

Not working for me anymore.

kenneth-saey commented 3 years ago

I am also having this issue, worked fine before the Chrome update, not working after the update. In logcat I can see the following output:

D/ChromeDevtoolsServer: onOpen
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.canEmulate
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Console.setTracingBasedTimeline
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Network.setCacheDisabled
I/ResponseBodyFileManager: Cleaned up temporary network files.
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.setAsyncCallStackDepth
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Debugger.skipStackFrames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Runtime.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Timeline.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.enable
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Worker.setAutoconnectToWorkers
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
I/chatty: uid=10604(com.insypro.takeintakeout) StethoWorker-ma identical 3 lines
D/ChromeDevtoolsServer: Method not implemented: Not implemented: IndexedDB.requestDatabaseNames
D/ChromeDevtoolsServer: Method not implemented: Not implemented: Page.getNavigationHistory

When inspecting Chrome tabs by opening Chrome on my Android phone, everything shows fine, so it really looks like it's related to Stetho.

anocean2 commented 3 years ago

I have same problem too on version 89.0.4389.90 but on version 88.0.4324.190 work is fine

kenneth-saey commented 3 years ago

As a temporary work-around: The inspector of Microsoft Edge still works and provides exactly the same features. So it seems to be a Chrome-issue.

haitanle commented 3 years ago

having the same issue at the moment after Chrome self-updated

Screen Shot 2021-03-17 at 11 06 26 AM
Visualrainy commented 3 years ago

same issue, any progress on this issue??

cemper86 commented 3 years ago

same issue

ted-prnd commented 3 years ago

same issue

jiantao88 commented 3 years ago

This appears to have broken with the most recent release of Chrome and Chromium, which for me is 89.0.4389.72 on Linux x64. According to the Chrome Releases blog, that appears to be the new stable that was released two days ago.

Apparently, Google does not make older versions of Chrome available after new stable releases, but you can still get old versions of Chromium. I ultimately followed the directions of the Chromium's project Download Chromium page in the "Downloading old builds of Chrome / Chromium" section. This gave me a locally runnable version 88.0.4324.0 of Chromium in which Stetho tools do work.

Release links:

Linux x64: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/827102/ Mac OS: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/827102/ Windows: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/827102/