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
ADB over WiFi do not required to be root. Only to plug your phone using USB the first time :-)
ReplyDeleteCorrect, Soon I will update the content. Thanks
ReplyDeleteGood post, just one thing I want to let you know that first time I face problem for non-rooted solution, It is not clear that which IP address we have to insert in command Device IP address or Computer IP address, but after both try I come to know that I have to give device IP address.
ReplyDeletePlease mention clearly that device IP address we require for non rooted device.
Hi Vimal,
DeleteThanks for notifying, I will update it. :)
Thanks for the post this will help many
ReplyDeletered wimax
Nice post, I think its a beautiful tips. Its helpful for all. thanks
ReplyDeleteandroid app development perth | android app development sydney