Most of the time when we test Native and Hybrid Android apps via Appium, we need to connect our real device through USB to a machine. In this example we will see how we can connect our ADB device via Wifi connection.
Make sure initially the Android device is connected via USB Cable to the machine
Correct USB drivers are installed and the device is discoverable. Enter adb devices in cmd prompt and check if you device shows up.