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.
- If the device is running Android 9 or earlier, you need to add a library to your project, so that Graphics Analyzer can collect data from it. Refer to Prepare your application for details.