Debug apps in Real android device over wifi in android studio without plugin

Debug apps in Real android device over wifi in android studio without plugin

Let’s begin with the step by step procedure to connect the real device over WiFi. We will do this without any plugins in android studio.

I was using plugins for some times but facing problems with it. So i want to share a way to use real devices so that you can debug apps in the real device as needed and it is very easy and handy to use.

Lets began =>

  1. Add adb to your path variable.
  2. For me C:\Users\User\AppData\Local\Android\Sdk\platform-tools is my adb path and copy that path.
  3. Right-click on ‘My Computer‘ and select ‘Properties‘.
  4. Then click -> ‘Advances system settings -> Environment variables‘ button under the ‘Advanced‘ tab.
  5. Now, Under System variables find ‘Path‘  and press the edit button.
  6. Press new button and paste that.
  7. Open cmd and write  $ adb devices , that will show you the list of connected devices. your device must be connected via a usb cable.
  8. $ adb tcpip 5555 , write it in the cli and it will restart port: 5555.
  9. $ adb connect 192.168.0.102:5555 , you have to specify the port with the ip address of the device. If you could not find the ip address of the device then simply go to the Settings -> About Phone -> Status -> Ip address. You will find the ip address in there.
  10. Now write $ adb devices , now you will see there are two connected devices one is via usb and another is via ip address.

You can use the device over wifi and enjoy.

We will discuss so many things on the way to learn. So let’s dive in and stay put with AndroVaid.

Leave a Reply

Close Menu