Home > Enterprise Mobility Management > Other Topics > Accessing Android Log Output

Accessing Android Log Output

In some cases, Android log output may be necessary to be able to troubleshoot an issue.  To access this logging, perform the following steps:

 

Enabling Developer Mode and USB Debugging

  1. Navigate to Settings > About or About phone and tap on the Build number entry 7 times.
  2. Go back one level and select Developer options.
  3. Enable USB Debugging on this menu. 

Accessing USB Debug Logs

Via Android Studio

If you'd rather not use command line tools to debug, you can install Android Studio and capture logs with the Android Device Monitor GUI.

  1. Install Android Studio.
  2. Launch the program. You may need to create a new empty project to see the monitoring interface.
  3. Connect the device via USB, and trust the computer signature to begin logging.
  4. Logs can be copied out of the monitor panel, or saved as described in this article.

Via ADB

  1. Install the Android SDK
  2. From there, navigate to the platform-tools folder.
    • By default this can be found in the following locations:
    • Windows: C:\Users\[username]\AppData\Local\Android\sdk\platform-tools
    • macOS: ~/Library/Android/sdk/platform-tools
  3. To access the logging output, run the adb executable with the "logcat" argument:
    • Windows: C:\Users\[username]\AppData\Local\Android\sdk\platform-tools> adb logcat
    • macOS: $ ./adb logcat
  4. To save this output for later use (or to share with support), run logcat with the -f option to output the logs to a file:
    adb logcat -f c:\temp\androidlogs.log 
You must to post a comment.
Last modified
14:36, 11 Sep 2017

Tags

Classifications

This page has no classifications.

Explore Meraki

You can find out more about Cisco Meraki on our main site, including information on products, contacting sales and finding a vendor.

Explore Meraki

Contact Support

Most questions can be answered by reviewing our documentation, but if you need more help, Cisco Meraki Support is ready to work with you.

Open a Case

Ask the Community

In the Meraki Community, you can keep track of the latest announcements, find answers provided by fellow Meraki users and ask questions of your own.

Visit the Community