Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't show run tab after launch in Android Studio

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 ?

like image 997
bakua Avatar asked Jan 20 '14 15:01

bakua


People also ask

How do you run a method only once on Android?

You can do this, by using shared preferences . Store a value in shared preferences: SharedPreferences prefs = getPreferences(MODE_PRIVATE); SharedPreferences.

How to open configuration in Android Studio?

Note: An easy way to locate your configuration directory is to navigate to Help > Edit Custom VM Options in Android Studio. This will open a configuration file.

Can t run Flutter app in Android Studio?

If you haven't run your Flutter app yet, you might see Android Studio report a build error when you open the android project. Run flutter pub get in the app's root directory and rebuild the project by selecting Build > Make to fix it.


1 Answers

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 .

like image 176
Piyush Agarwal Avatar answered Oct 22 '22 13:10

Piyush Agarwal