94

I'm developing apps in Android Studio. But everytime I hit Run button, the Run tab pops up automatically from bottom with messages like Installing com.packagename etc..., Success, Launching

I've already disabled automatic displayin of Android DDMS tab (because I use DDMS from toolbar which opens new window) by editing configurations. But I can't disable this stupid automatic Run tab showing.

Is there any way to do this ?

8 Answers 8

134

In case anyone still struggling with this annoying thing, there is a way to disable this annoying popup.

Note: this will remove the run tab altogether.

Disable run tab

So basically go to your Run/Debug configuration and Uncheck Activate tool window at the bottom. This gets rid of the Run tab.

Sign up to request clarification or add additional context in comments.

4 Comments

This works. In case anyone can't find it (me), the window scrolls down (duh).
To open the run/debug configuration, go to Run > Edit configurations. You can also click the "app" dropdown in the toolbar (next to the run button) and select "Edit configurations".
expand the window if not visible at first.
This approach will only affect existing configurations on an existing project. To make the change for all new configurations for a project, use the "Edit configuration templates..." option on the bottom left of the window, as described in @bighugedev's answer. If you want all new projects to have this behavior see my answer
40

Finally I find way to avoid come up runToolbar when press Shitf+F10:

just click to setting icon enter image description here

next scroll down to disable "Active Tool Window" and press "OK" enter image description here

1 Comment

It's great, but with many separate composable screens it becomes quite tedious.
35

There is no standard way of achieving this but I found an interesting workaround mentioned below and using the same.

When your run tab is opened, Instead of hiding it using right-top corner button, Drag it till it hides.

Like in picture shown below

enter image description here

Now Run your project run window wont appear, When you want it back click on run button in horizontal bar.

Working perfectly for me .

5 Comments

thanks :) it's workaround but kind of works, so I'm going to accept it
@bakua sometimes wrong ways take us to a right destination :)
why can't I add more than one upvote? This is one of those things which is not really important, but annoys you every single time you see it.
Since at least 2023 there IS a standard way (and simple), described in a very clear way here: stackoverflow.com/a/76355664/1986583
27

To disable this annoying thing forever (within the current project), open Run/Debug Configurations and click Edit configuration templates.... enter image description here

Scroll down to the bottom and uncheck Activate tool window.

enter image description here

Although to be honest, I've found no point in the Run tab at all, so I switched it off completely. It doesn't seem to be more useful than Logcat.

3 Comments

Thank you, it helped me, but I encountered another problem, which is in the editing layout screen, when selecting something(like textView), it takes about 4 seconds to display the attributes. Is there a solution? Unfortunately, this is the worst version of Android Studio :(
@mody What is your version of Android Studio? Mine is Android Studio Electric Eel | 2022.1.1 Patch 2, and when I click on a widget in Design mode, it takes approximately a half of a second for the attributes of the widget to appear. Furthermore, it depends on how powerful your PC is. If the current version of Android Studio doesn't satisfy you, you can download any of the previous ones here.
Yes, I have the latest version of Android Studio, and the specifications of my computer are good (16 GB RAM and Core i7 gen 10). After updating the latter, it takes about 4 seconds to show the attributes, and here I mean when choosing when clicking on the design screen, not the component tree
14

I have a workaround that show Logcat tab instead of Run tab.

From Run menu do Edit Configurations… > Miscellaneous > Show logcat automatically

show Logcat tab instead of Run tab

Comments

2

For Android Studio Giraffe 2022.3.1 and above:

In case you cannot find the "wrench" settings icon as described in Mahdi gh hastam's answer, you can get to that setting by Run/Edit Configurations... scroll down and untick "Activate tool window", as shown here:

"Activate tool window" at bottom of window titled "Run/Debug Configurations".

Comments

1

The answers by Khaled and bighugedev will only affect the existing configuration of an existing project, or new configurations of an existing project, respectively. To disable the stupid automatic run tab on every new project by default, do the following.

First, go to File > New Projects Setup > Run Configuration Templates...

location of described option in menus

Within the dialog, select "Android App" from the sidebar. Then scroll down in the main view and make sure the "Activate tool window" is not selected, then click OK.

location of described setting in the resulting dialog

Note: this is a very similar dialog window as the other two answers show, but the dialog title specifies you are editing templates "for new projects."


Tested in Android Studio Koala | 2024.1.1 Patch 2 with new UI enabled.

3 Comments

I use koala that not founnnd check box for it
@Umar Did you try scrolling down in the main view? The checkbox is at the very bottom.
Not found actually
0

For a long time other advises to uncheck 'Activate tool window' was working good for me, until I started to work with Compose and use 'preview on device' - each preview has its own configuration, and this annoing 'Run' tab pops-up everytime and hides emulator window. My solution in new Android Studio UI (Android Studio Giraffe | 2022.3.1 Patch 2) is to:

  1. move 'Run' tab to right bottom - right click on tab and select 'Move to -> Right bottom'.
  2. drag 'Run' window all the way down, so that it's not visible.

After that, even though 'Run' tab still activates automatically on each app/preview run, but it remains minimized.

enter image description here

I don't know if it works the same in old UI, as mentioned previously, I'm using new one.

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.