

Next step is to connect adb host with android device using it’s ip address (of phone).Now, we may disconnect your android devices from laptop.Now, connect android device with laptop using USB cable.Check if device is connected to system or not.Now, we will connect device to system using wifi. Till now, we have set path for sdk/tools and sdk/platform-tools location. We will now try to connect a device using wifi. It will show list of devices connected to system –

bash_profile file.Įxport PATH=$:/Users/rajeevkumar/Library/Android/sdk/platform-tools So, you need to set path for sdk/tools and sdk/platform-tools location. It means you are running it for first time. But, it may show error “Command not found”. If it’s showing list of connected devices. In laptop, open terminal and type adb devices.Otherwise, we can move to next section of this tutorial. If it’s first time, we need to do below setup. Here, we will see how to check for android devices connected with system. However, most of the steps will be similar for other device. We are using Mi 10i phone for this tutorial. Now, we will see how to run or debug wirelessly on real device i.e. We have already seen several ways to run or debug android app in – There is no point of loose connection since Android device is not physically connected with the laptop.Since, device is not physically connected, there is no limitation of device movements while debugging android application.Port connection may become loose overtime.Device should be properly connected while debugging android application.Attaching devices with a USB cable limits movement of the device.

