Set up your device

To use Streamline, set up an Android device with the application you want to profile.

Before you begin

Set up your host machine

Procedure

  1. Ensure that Developer Mode is enabled, then enable USB Debugging by selecting Settings → Developer options.

  2. Connect the device to the host through USB and approve the debug connection when prompted. If the connection is successful, running the adb devices command on the host returns the ID of your device, and you can run adb shell.

  3. To profile a debuggable application, build and install the application with the appropriate settings:

    • For Unity applications, select the Development Build option in the Build Settings.

      Set Unity application to debuggable.
    • For Unreal Engine applications, open Project Settings → Project → Packaging → Project, and clear the For Distribution checkbox.

      Set Unreal application to debuggable.
    • For Godot applications, open Project → Export.... Click the Export Project... button. In the Save a File dialog, select the Export With Debug checkbox.

      Set Godot application to debuggable.
    • In Android Studio, do one of the following actions:

    Note

    This step is not required when building non-debuggable applications, for profiling on a development device with root access.

Next steps

Profile your application