Bored of connecting your Android device to ADB with traditional way wired/USB cable?
Here is the solution, connect your device to ADB over wifi & deploy your application for testing, how cool is that?
In order to make this successful you should
There are two ways to connect,
1. Non-Rooted Devices
2. Rooted Devices
For Non-Rooted Device
1. Connect your device to Computer
2. Once it is connected to ADB,
Go to command prompt locate your Android sdk/platform-tools as shown below
3. Type the below command
adb tcpip 5555
adb connect 192.168.0.101:5555
Make sure you will replace your IP (Device IP)
4. Remove USB cable
Now your device is connected via wifi ADB.
5. To revert back to USB
Just type
adb usb
For Rooted-Device
1. Download apps
ADB wifi https://play.google.com/store/apps/details?id=com.ryosoftware.adbw&hl=enor Wifi ADB https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=enon your device.2. Go to command prompt
locate your Android sdk/platform-tools as shown below3. open your any of the ADB wifi app
now type in command adb connect 192.168.2.77 (as shown in your device)4. Now you will be able to see
connected to 192.168.2.77:55555. Now if you check you in DDMS you will be able to see your device connected in Device tab.
Enjoy ADB over wifi :)
like it ? Please comment