Reputation: 14464
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 ?
Upvotes: 93
Views: 13346
Reputation: 1125
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...
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.
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.
Upvotes: 1
Reputation: 29
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:
.
Upvotes: 2
Reputation: 1237
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:
After that, even though 'Run' tab still activates automatically on each app/preview run, but it remains minimized.
I don't know if it works the same in old UI, as mentioned previously, I'm using new one.
Upvotes: 0
Reputation: 141
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
Upvotes: 14
Reputation: 515
Finally I find way to avoid come up runToolbar when press Shitf+F10:
next scroll down to disable "Active Tool Window" and press "OK"
Upvotes: 39
Reputation: 1242
To disable this annoying thing forever (within the current project), open Run/Debug Configurations and click Edit configuration templates....
Scroll down to the bottom and uncheck Activate tool window
.
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.
Upvotes: 28
Reputation: 2282
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.
So basically go to your Run/Debug configuration and Uncheck Activate tool window
at the bottom.
This gets rid of the Run tab.
Upvotes: 131
Reputation: 25858
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
Now Run your project run window wont appear, When you want it back click on run button in horizontal bar.
Working perfectly for me .
Upvotes: 35