docs.unity3d.com
    Show / Hide Table of Contents

    Connect to a device

    The Android Logcat package supports USB and wireless connection. This page explains how to connect an Android device to the Android Logcat window.

    Connect a device

    You can connect an Android device to the Android Logcat window either wirelessly or using a USB.

    Connect using a USB

    For information on how to connect an Android device to Unity, see USB debugging. When you open the Android Logcat window, Unity automatically adds any USB-connected Android device to the device list.

    Connect wirelessly

    To connect an Android device to the Android Logcat window:

    1. Switch your Android device to TCP mode. For information on how to do this, see Connect to a device over Wi-Fi.
    2. Open the Android Logcat window.
    3. From the toolbar, select the Device Selector.
    4. Select Other connection options.
    5. In window that opens, enter the device's IP address and select Connect.

    The available devices window.

    Select a device

    You can only connect to one device at a time. To select which device to connect to, use the device list in the Android Logcat window. This list contains the device IDs of connnected devices.

    The device list drop-down.

    Tip

    If you connect multiple devices and can't tell which one is which from their device ID, select Other connection options in the device list. This opens a window that displays additional information for each connected device, including the name.

    Additional resources

    • Android Logcat window
    • Messages
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023