Skip to main content

Debugging

Prerequisites

Before debugging, be sure you have the following:

  • A supported Poly hardware device on which you've enabled development mode. Development mode enables Android Debug Bridge (ADB) connections and the writable file system.
  • A computer with ADB installed.
  • A touchscreen connected to the hardware device.

Debugging from Android Studio

With ADB connected, you can push the APK from Android Studio or use standard command-line tools to install and start the package.

Logging

Use the standard Android method to manage logging.

For native apps, we recommend using the application logcat, which places the app logs under an app-specific log directory.

For apps using third-party log libraries, we recommend using external storage. To do this, use the following:

Environment.getExternalStorageDirectory().getAbsolutePath() + "/logs/"

In both cases, the log retrieval mechanism built into the codec pulls these logs and places them in the combined log package.

The same is valid for the controller.