Android Debugging and Performance Analysis

This document describes utilities, tips and best practices for improving debugging for any application on Oculus Android devices. Most of these tips apply to both native and Unity applications.

  • ADB This guide describes how to perform common tasks using ADB.
  • Logcat The Android SDK provides the logcat logging utility, which is essential for determining what an application and the Android OS are doing. With correct filtering, logcat can provide important basic performance information about your application.
  • SysTrace SysTrace can record detailed logs of system activity that can be viewed in the Google Chrome browser.
  • Native Debugging This guide provides basic recommendations for working with the Mobile SDK in Android Studio and Gradle, and is intended to supplement the relevant Android Studio documentation.