Chrome DevTools 损坏 - Stetho 无法使用

Kil*_* P. 48 android google-chrome google-chrome-devtools okhttp stetho

Stetho 和 Google Chrome DevTools 在 macOS 更新后变得无法使用(我怀疑 macOS 更新是此错误的根源,但我更愿意提及它)。

这是在设备上打开“检查模式”后 DevTools 的外观(由 Facebook Stetho 库提供,适用于 Android 和 OKHttp)。

开发者工具窗口

页面上不再有“CSS”样式表,字体也发生了变化。许多标签页没有显示(即网络请求),我只能访问一些错误消息:

There were 84 bytes that were not consumed while processing request 4
There were 84 bytes that were not consumed while processing request 5
There were 84 bytes that were not consumed while processing request 6
Failed to clear temp storage: undefined
Run Code Online (Sandbox Code Playgroud)

我按照有关此问题的说明进行操作:无法清除临时存储和此问题:无法清除临时存储:Chrome 中的安全错误但我无法解决该问题。

这是我尝试过的:

  • 使用 AppCleaner 卸载并重新安装 Chrome
  • 从磁盘中删除 chrome 缓存
  • 从中删除 chrome 配置文件 ~/Library/Application\ Support/Google/Chrome
  • 创建并使用新的 Chrome 配置文件
  • 尝试连接 Firefox 远程调试(非功能)
  • 重启系统

你们中有人遇到过这个问题吗?谢谢 !

小智 26

您应该降级 Chrome。最新版 Chrome/Chromium 的问题https://github.com/facebook/stetho/issues/696

  • Erf,我创建了一个 StackOverflow 线程而不是一个问题,因为我的同事没有一个遇到这个错误...非常感谢您的回答,我能够通过下载此版本的 Chromium 来解决这个问题:https://commondatastorage。 googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/827102/ (2认同)

Bok*_*ken 6

作为解决方法,您可以使用其他基于 Chromium 的浏览器,例如:

您还可以使用chrome://inspect/#devices地址来检查您的数据库内容。

目前最大的缺点是您无法查看共享首选项(这在 Chromium 88 上是可能的)

  • 勇敢为我工作。我真的很想安装勇敢,现在我有了理由 (3认同)