- Ensure you are connected to the same network as your computer
2.Run
adb devices
to get list of devices
3.Run
adb tcpip 5555
to restart adb in tcpip mode
4.If your phone is connected via usb, run
adb shell ifconfig
to get the ip address for your device otherwise go to phone Settings -> About phone/tablet -> Status -> IP address
5.Connect to phone by running
adb connect <ip address>
Subsequent builds from android studio will detect your device and install the app there.
To disconnect your device run
adb disconnect <ip address>