Android Studio如何使用服务而不是运行来还原?

问题描述 投票:0回答:1

我想使用Android Studio中的Run窗口启动运行配置(这是项目的默认设置)。


我知道在某个时候我将8. Services窗口设为我的一个项目的默认窗口,但是,我不知道如何再次禁用它:

Screen capture

[每当我在上述项目中运行任何东西(启动应用程序,运行测试,命令行应用程序等)时,它都会在Services窗口中启动,我认为这有很多令人讨厌的缺点。


我不想删除该项目的整个.idea目录,因为我不想丢失很多设置-正是这一点困扰着我。

android-studio intellij-idea jetbrains-ide
1个回答
0
投票

服务窗口中运行哪种运行配置由Configurations availabe in ServicesRun/Debug Configurations->:]中的Templates列表确定。>

Capture

在这里,您可以简单地删除或添加要在8. Services中运行的任何配置。

导航

[Run->Edit Configurations...->Templates->[Configurations available in Services


Thanks to @y.bedrov指出来。

© www.soinside.com 2019 - 2024. All rights reserved.