Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Android Monitor from automatically opening when I run a project in Android Studio?

This Android Monitor window displays log activity from my phone, so I can see stack trace, etc. when my program crashes. Fortunately my program usually runs without crashing. :-) However this means the window is not useful to me most of the time.

How can I prevent Android Monitor from opening automatically on every time I Run Project?

For now, I've just resized it to be very small.

like image 383
700 Software Avatar asked Feb 08 '16 22:02

700 Software


People also ask

How do I know if an app is running in the background Android?

You can detect currently foreground/background application with ActivityManager. getRunningAppProcesses() which returns a list of RunningAppProcessInfo records. To determine if your application is on the foreground check RunningAppProcessInfo.

Where is configure in Android Studio?

Click File > Settings (on macOS, Android Studio > Preferences) to open the Settings dialog. In the left pane, expand the Editor section and click Inspections. Click the checkboxes to select or deselect lint checks as appropriate for your project. Click Apply or OK to save your changes.


1 Answers

For Android Studio 1.4

  1. go to Run -> Edit Configurations

  2. expand Defaults and click on Android Application (or just for the current app, pick the top Android Application node)

  3. switch to Miscellaneous tab

  4. uncheck the Show logcat automatically option

You can open the window anytime by Alt/Opt+6.

like image 70
muratgu Avatar answered Oct 07 '22 03:10

muratgu