问题描述
macOS 更新后,Stetho 和 Google Chrome DevTools 变得无法使用(我怀疑 macOS 更新是此错误的根源,但我更愿意提及它).
Stetho and Google Chrome DevTools have become unusable after a macOS update (I doubt that macOS update is the origin of this bug, but I prefer to mention it).
这是打开检查模式"后DevTools的外观在设备上(由适用于 Android 和 OKHttp 的 Facebook Stetho 库提供).
Here is the appearance of DevTools after the open of "inspect mode" on a device (provided by Facebook Stetho library for Android & OKHttp).
不再有CSS"页面上的样式表和字体已更改.许多标签页没有显示(即网络请求),我只能访问一些错误消息:
There are no longer "CSS" stylesheets on the page and fonts have changed.Many tab pages aren't displayed (i.e. Network Requests), I only have access to some error messages :
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
我按照有关此问题的说明进行操作:无法清除临时存储和这个:无法清除临时存储:Chrome 中的安全错误,但我无法解决该问题.
I followed instructions on this issue : Failed to clear temp storage and this one : Failed to clear temp storage: SecurityError in Chrome but I haven't been able to fix the problem.
这是我尝试过的:
- 使用 AppCleaner 卸载并重新安装 Chrome
- 从磁盘中删除 Chrome 缓存
- 从
~/Library/Application\ Support/Google/Chrome
中删除 chrome 配置文件 - 创建并使用新的 Chrome 配置文件
- 尝试连接到 Firefox 远程调试(非功能)
- 重启系统
- Uninstall and reinstall Chrome with AppCleaner
- Remove chrome cache from disk
- Remove chrome profiles from
~/Library/Application\ Support/Google/Chrome
- Create and use a new Chrome profile
- Try to connect on Firefox distant debug (unfonctionnal)
- Restart system
你们有没有遇到过这个问题?谢谢!
Have any of you ever encountered this problem ?Thanks !
推荐答案
您应该降级 Chrome.最新版 Chrome/Chromium 的问题 https://github.com/facebook/stetho/issues/696
You should downgrade Chrome. Problem with the latest Chrome/Chromium release https://github.com/facebook/stetho/issues/696
这篇关于Chrome DevTools 损坏 - Stetho 无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!