Skip to content

Most visited

Recently visited

navigation

Android Monitor Basics

This tool was removed in Android Studio 3.0.

You should get the latest version of Android Studio and use the new Android Profiler instead.

Android Monitor has a main window that contains the logcat, Memory, CPU, GPU, and Network Monitors. From this window, you can select a device and app process to work with, terminate an app, collect dumpsys system information, and create screenshots and videos of the running app.

Prerequisites and Dependencies

Before you start using Android Monitor, you need to set up your environment, as well as the hardware device or emulator. All of the monitors require the following:

All but the logcat Monitor have these additional requirements:

The GPU Monitor has this requirement as well:

The Network Monitor and the Video Capture tool work with a hardware device only, not the emulator.

Displaying Android Monitor

Android Monitor is integrated into the Android Studio main window:

Note: If you don't see the sidebar buttons, you can display them by selecting View > Tool Buttons.

Android Monitor looks like the following figure:

Profiling a Running App in Android Monitor

After you've met the prerequisites and optionally connected a hardware device, you're ready to profile an app in Android Monitor:

  1. Open an app project and run the app on a device or emulator.
  2. Display Android Monitor and click the tab for the monitor you want to view.
  3. Follow the instructions about using the monitor:

Switching between Devices and Apps

By default, Android Monitor displays data for your most recently run app. You can switch to another device and app as needed. In addition to currently running apps, you can view information about apps that are no longer running so you can continue to see any information about them that you gathered previously.

At the top of the Android Monitor main window are two menus listing devices and processes. To switch to another device, process, or both:

  1. Select the device or emulator.
  2. The Device menu lists the devices and emulators that are running or have run during your current session. There are various status messages that can appear in the Device menu:

    • DISCONNECTED - You closed an emulator or unplugged a device from the computer.
    • UNAUTHORIZED - A device needs you to accept the incoming computer connection. For example, if the connected device displays an Allow USB Debugging dialog, click OK to allow the connection.
    • OFFLINE - Android Monitor can’t communicate with a device, even though it has detected that device.
  3. Select the process.
  4. The Process menu lists the processes that are running or have run during your current session. If a process is no longer running, the menu displays a status of DEAD.

Rearranging Android Monitor Windows

You can rearrange the Android Monitor windows for optimal viewing during your tests:

To rearrange the logcat and Monitors tabs:

Terminating an App

To stop an app you’ve run from Android Studio:

  1. Select the device and the process in the Android Monitor menus, if needed.
  2. Click Terminate Application Terminate App icon.
  3. The process status changes to DEAD in the Processes menu. The emulator or device continues to run, but the app closes. Any running monitors in Android Monitor stop.

Removing an App from a Device

To remove an app from a device you use for development, use the normal uninstall procedure on the device.

If you run a new version of an app from Android Studio that’s been already installed on a hardware device, the device displays an Application Installation Failed dialog. Click OK to install the new version of the app.

Using Other Main Window Features

From the Android Monitor main window, you can also do the following:

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)