If you want to run an Android application without using a USB wire. Then you can configure your device with android studio using the command line. Here are the steps to connect your Android device to your android studio through the same wifi.
Open your command line and...
D is the directory where your Android SDK is stored.
cd D:\Android\SDKs\platform-tools
Open wifi network and check your IP then paste in the command line
adb connect 192.168.1.101:5555
If the device is not connecting and you have an issue then run adb tcpip 5555
.
The final steps are
cd D:\Android\SDKs\platform-tools
adb connect 192.168.1.101:5555
adb tcpip 5555