To communicate with an Android device over the Android Debug Bridge (adb), enable USB debugging on the device.
- On the Android device, open the settings.
- Tap Developer Settings. The developer settings are hidden by default. If the developer settings are not included in the settings menu of the device:
- Depending on whether the device is a phone or a pad, scroll down and tap About phone or About Pad.
- Scroll down again and tap Build Number seven times.
- In the Developer settings window, check USB-Debugging.
- Set the USB mode of the device to Media device (MTP), which is the default setting. For additional information, refer to the documentation of the device.