If you want to easily connect your device to run, debug or deploy your Android apps over WiFi you can use an open source IntelliJ Plugin that I’ve found.
The usage is quite simple. Here is a gif:
Download and install Android WiFi ADB directly from Intellij / Android Studio:
file/Settings->Plugins->Browse Repositories and then find Android WiFi ADB
Connect your device to your computer using a USB cable. Then press the button (android logo with wi-fi Icon on your android studio toolbar, as shown in gif.) and disconnect your USB once the plugin connects your device over WiFi. You can now deploy, run and debug your device using your WiFi connection. Remember that your device and your computer have to be in the same WiFi connection.
If you want to handle your devices connection individually, open the Android WiFi ADB dashboard you will find at the right of your IDE.
- Your system and mobile should connect with same network(wifi) to use the plugin.
- No need to worry about loose contact of cable.
- No Internet required to use this feature.