HowTo: Use adb over network / wifi / wlan / remote
I always hated it when i had to plug and unplug the usb cable in the phone. Luckily, you can use adb and android studio over network to install applications on the device. It only takes a few seconds.
First I connected my Nexus 4 a last time with usb. I tested it with adb devices – Only my nexus4 was shown.
adb tcpip 5555
Next you need to find out the IP address of you phone.
adb connect 192.168.178.68
Done !It should look like this: