Connect your Android phone with Android Studio in Mac via WiFi without using any plugins

Bharat Kumar
2 min readJun 17, 2020

Please follow below instructions :-

  1. First make sure to connect your Mac and phone to same WiFi.
  2. Enable USB debugging in your android phone for more help please use this link
  3. Connect the device to the computer with a USB cable.
  4. Set the target device to listen for a TCP/IP connection on port 5555.
adb tcpip 5555

5. Find the IP address of the Android device. For example, on a Nexus device, you can find the IP address at Settings > About tablet (or About phone) > Status > IP address. Or, on a Wear OS device, you can find the IP address at Settings > Wi-Fi Settings > Advanced > IP address

6. Connect to the device by its IP address with port 5555

adb connect <device_ip_address>:5555

7. Disconnect the USB cable from the target device.

8. You can Confirm that your host computer is connected to the target device :

$ adb devices
List of devices attached
device_ip_address:5555 device

You’re now good to go!

If the adb connection is ever lost :

  1. Make sure that your host is still connected to the same Wi-Fi network your Android device is.
  2. Reconnect by executing the adb connect step again.
  3. Or if that doesn’t work, reset your adb host:
$ adb kill-server
$ adb start-server

Then start over from the beginning.

--

--