You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Android Studio Arctic Fox中使用旧版Layout Inspector而不回退版本

Android Studio Arctic Fox 启用旧版 Layout Inspector 方案

不需要回退Android Studio版本,直接修改IDE内置配置即可切换到无实时更新的旧版布局检查器,操作步骤如下:

  • 打开Android Studio设置页:Windows/Linux系统走File > Settings路径,macOS系统走Android Studio > Preferences路径
  • 在左侧菜单栏找到Experimental(实验性设置)分类
  • 找到名为Enable Live Layout Inspector的选项,取消该选项的勾选
  • 点击Apply保存设置后重启Android Studio
    重启完成后再次打开Layout Inspector,就是旧版无实时更新的版本,连接进程速度快,不会主动重启当前页面的Activity。

如果修改配置后没有生效,可以尝试清空Layout Inspector本地缓存再试:

  • 关闭Android Studio
  • 删除对应系统路径下的缓存目录:
    • Windows:C:\Users\<你的系统用户名>\.AndroidStudioArcticFox\system\layout-inspector
    • macOS:~/Library/Caches/Google/AndroidStudioArcticFox/layout-inspector
    • Linux:~/.cache/Google/AndroidStudioArcticFox/layout-inspector
  • 重新启动Android Studio即可正常使用旧版布局检查器

后续如果需要使用实时更新功能,重新勾选上述Enable Live Layout Inspector选项再重启IDE,就能切换回新版Layout Inspector。

内容的提问来源于stack exchange,提问作者xatok

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.25 09:06:08