DEV Community

Whitney Smith
Whitney Smith

Posted on

Enable Wireless Debugging on Android Device

This article explains how to set up wireless debugging to avoid needing a USB cable plugged into an Android Device.

Android Settings

Enable wireless debugging through the Android Settings:

  1. Developer options must be enabled first

    a. Go to Settings -> About Tablet -> Software Information
    b. Tap Build Number multiple times until you see "You are now in Developer mode!"

  2. Go to Settings -> Developer Options and toggle on Wireless Debugging
  3. Tap Allow in the popup to enable it
  4. Follow steps below for ADB Commands

IDE Plugin

Enable wireless debugging through IDE Plugin:

  1. Install the “ADB Wireless Plugin” in your IDE (Or something similar in name. May be “Android Wifi ADB” for example). Typically you'd use Android Studio but I needed to use Intellij.
  2. Connect device to computer with a USB cable
  3. Connect to device through ADB Wireless Plugin a. The ADB Wireless Plugin menu should show up in the right-side tool menu.
  4. Unplug the USB cable and follow steps below for ADB Commands

ADB Commands

Set up adb so that commands such as adb logcat will run:

  1. Connect the device to your computer with a USB cable. Check that USB debugging is working by running adb devices. The device should be listed.
  2. Run adb tcpip 5555
  3. Disconnect the USB cable
  4. Go to the Settings -> About Tablet -> Status to view the IP address of your device
  5. Run adb connect <IP address of device>:5555
  6. Run adb devices again and you should see the device

You can now wirelessly run adb commands!

Top comments (0)