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

Android Studio运行窗口每次重建重启时消失,如何永久固定?

解决Android Studio Run窗口重建后消失的问题
  • 锁定Run窗口停靠状态
    找到Run窗口右上角的图钉图标,点击切换为「固定」模式。设置后,即使重建并重启应用,窗口也会保持显示,不会自动隐藏。

  • 调整运行配置的显示选项

    1. 点击工具栏运行下拉菜单,选择「Edit Configurations...」打开运行配置窗口
    2. 在左侧列表选中你的应用运行配置
    3. 切换到「Logs」标签页
    4. 勾选「Show console when a message is printed to stdout/stderr」,同时确认「Activate tool window」选项处于开启状态
    5. 点击「Apply」保存配置
  • 重置UI布局(若前两种方法无效)

    1. 关闭Android Studio
    2. 删除布局配置文件,路径根据系统不同:
      • Windows:C:\Users\<你的用户名>\.AndroidStudio<版本>\config\layouts
      • Mac:~/Library/Application Support/Google/AndroidStudio<版本>/layouts
      • Linux:~/.AndroidStudio<版本>/config/layouts
    3. 重启Android Studio恢复默认布局,之后重新固定Run窗口即可

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.30 04:34:54