Connect Android Device As Wireless For Debugging

When we use the USB cable, we cannot connect very often or it is disconnected again and again. To solve the problem we can connect the device wirelessly.

Arnish Gupta
2 min readJul 8, 2020
Photo by Danial RiCaRoS on Unsplash

Let’s look at the process into the following steps:

  • Step 1: Open Command Prompt and go to your Platform-tools folder (Default: /Users/<username>/Library/Android/sdk/platform-tools).
  • Step 2: Connect the same WiFi for your android device and your system. Connect an Android device with the USB cable and verify it (./adb devices)like the below image.
  • Step 3: Enable the TCPIP connection with the port 5556. You can choose any port number. Use the ./adb tcpip 5556 command to enable it.
  • Step 4: Open your android device and find the IP of your device (Settings -> Wifi -> Select Connected WiFi -> Advance Option) Check the below image.
  • Step 5: The last step is to connect ADB using the IP address. type the command ./adb connect <IP>:<TCPIP Port>. In my case, It will be executed ./adb connect 172.20.10.4:5556 as the below image.

That’s it. Now you can remove your USB cable and use the android device. even you can verify it by using the ./adb devices command.

I hope it will helpful for debugging. If you like my article then give a second and claps for me.

Cheers, Have a wonderful day.

Thank you for reading !!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response