Configure your device
- Ensure Developer Mode is enabled, then enable USB Debugging using Settings > Developer options.
- Connect the device to your host machine. To test the connection, run the
adb devicescommand in a terminal window on the host, which should return the ID of your device.
adb devices List of devices attached ce12345abcdf1a1234 device
adb devicesdoes not work, check that you have installed Android Debug Bridge correctly, see Before you begin.
- The device must be able to use TCP/IP on port 5002 to communicate with the host. Make sure that this port is not in use.
- The application you want to trace must be debuggable. For example, in Unity applications, select the Development Build checkbox in the Build Settings when you build your application.