

Step 7 Disconnecting the device to your computer:įor disconnecting the connected device, write the below command: Hence, you can debug the app in your connected device. Now your device is successfully connected to your computer. Now check whether the device is connected or not through this command: adb devices if you do not see your device connected, then just reconnect it using the previous step’s command. Remove the USB cable and you will be connected to your device.

Step 6 Re-connecting the device to your computer:

You can connect your device using the below command. Now you are aware about the IP address of your device connect your adb host to it. Go to phone Settings -> About phone/tablet -> Status -> IP address Step 4 Find IP address from mobile device:įind out the IP address of the Android device: Write the below command to restart adb in tcpip mode. You can get the connected list of devices using the below command.

You can write command in terminal or cmd. You can check the attached devices with the command: adb devices and make sure that the adb is running in the USB mode by executing the command: adb usb. Also, adb will start running in the USB mode on the computer. After doing this, your device will be detected by your host computer. Step 2 Get the list of connected devices :Ĭonnect the Android device to the computer using your USB cable. Make sure that the USB debugging is working also your adb host computer and Android device must be on the same Wifi network. You need to connect your device to your computer via USB cable. Step 1 Connect your device on the same Wifi network: For connecting Android devices to your computer, follow the below steps. You will be needing a USB cable (for the initial setup) and make sure that both the devices should be on the same network. There is a simple way to connect Android devices to our computer. It is better to use adb over a wifi connection than a USB to save some wire-related hassles in our lives and many a times device is disconnected when we debug the app. We mostly connect Android device to computers with a USB cable for debugging purposes.
